This is the documentation for Superforms version 1. The latest version can
be found at superforms.rocks!
Superforms ๐ฅ
๐ Svelte Hack 2023 winner - Best library! ๐
Superforms is a SvelteKit library that gives you a comprehensive solution for server and client validation, and client-side display of forms.
It uses a Zod validation schema as a single source of truth, with consistent handling of form data and validation errors, with full type safety. It works with both TypeScript and JavaScript, even in static and single-page apps.
The API is minimal, basically a single method on the server and client, but itโs very flexible and configurable to handle every possible case of:
Get started
Click here to get started right away, or watch this video for an introduction to whatโs possible with Superforms: