Superforms

Developed for SvelteKit applications, it is a form management library that offers server and client-side verification support. Zod can work integrated with a large number of verification libraries, such as Valibot and JSON Schema; it supports nested data structures and file uploads. Thanks to its progressive enhancement feature, JavaScript retains form functionality even when disabled.

SU

ciscoheat · Form Builders & Surveys

STARS2.8K
FORKS109
COMMITS—
CONTRIBUTORS23
VERSIONv2.9.0
UPDATED2 days ago
svelteFormValidationtypescriptMIT

Common commercial products in this category: Typeform, Google Forms, SurveyMonkey

What can it do?
  • Using libraries such as Zod or Valibot, you verify form data in a type-safe way on the server and client side.
  • With Tainted form detection and snapshot features, you prevent users from losing their unsaved data.
  • You send complex and interlocking data structures like a RPC call without being plugged into FormData limitations.
User reviews
  • ↑ PositiveGitHub Issue

    Nested objects defaults not working/Nested Errors are flattened into an array of strings

    “Thanks for the great module, I'm a bit new so not sure if this is a superforms issue or a zod issue but, I have the following types: If there are validation issues on the ListingProject (which is a nested zod object), the errors show up as [error1, error2, error3] so in the form…”

  • ↓ NegativeGitHub Issue

    `SuperDebug` import broken on Svelte 4 (was: Svelte 5 in enforced runes mode)

    “- [x] Before posting an issue, read the [FAQ]( and search the previous issues. **Description** Importing `SuperDebug` from sveltekit-superforms as recommended in #592 throws the following error in the client console: `SyntaxError: The requested module…”

My note

Alternative pages

More in: Form Builders & Surveys