SvelteKit Form 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 nested data, multiple forms on the same page, tainted form detection & more."
Andreas Söderlund