Making SvelteKit validation and displaying of forms easier than ever!
PageData
and ActionData
- Forget about which one to use and how, just focus on your data.FormData
into correct types.FormData
- Send your forms as devalued JSON, transparently.ActionResult
, with a possibility to cancel the update at every step. npm i -D sveltekit-superforms zod
pnpm i -D sveltekit-superforms zod
Follow the get started tutorial on the website to get a hands-on introduction to Superforms: https://superforms.rocks/get-started
You can also watch this excellent introduction video to see what's possible: https://www.youtube.com/watch?v=MiKzH3kcVfs
Ideas, general feedback, bug reports, PR:s, etc, are very welcome as a Github issue discussion, or on the Discord server!
Now that version 1.0 is released, there will be bug fixes, more support questions on the Discord server, future features to work on, and so on.
If you're using Superforms in non-profit circumstances, the library is completely free, a star on Github is more than enough if you want to give your support. But if you are using Superforms in a commercial project, would you or the company you work for consider donating?
If you have appreciated my support on Discord and Github, or want to ensure that things keep rolling, please support open source software in this way.