Superforms logo

Superforms ๐Ÿ’ฅ

๐Ÿ† Svelte Hack 2023 winner - Best library! ๐Ÿ†

Superforms is a SvelteKit form library that brings you a comprehensive solution for server and client form validation. It supports a multitude of validation libraries:

Pick your favorite, Superforms takes care of the rest 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:

Nested data
Multiple forms on the same page
Tainted fields
Client-side validation
Loading spinners
All in a minimal API

Get started

Click here to get started right away, or watch this video for an introduction to whatโ€™s possible with Superforms:




Browser testing by