Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sveltekit-superforms

Package Overview
Dependencies
Maintainers
1
Versions
208
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sveltekit-superforms

Making SvelteKit forms a pleasure to use!

  • 2.20.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
45K
increased by0.32%
Maintainers
1
Weekly downloads
 
Created
Source

Superforms logo

Superforms 💥

Making SvelteKit forms a pleasure to use!

https://superforms.rocks/
Discord   •   API   •   FAQ   •   npm   •   Issues

Feature list

  • Server- and client-side validation with your favorite validation libraries, and more to come: 💥 Arktype 💥 class-validator 💥 Effect 💥 Joi 💥 Superstruct 💥 TypeBox 💥 Valibot 💥 VineJS 💥 Yup 💥 Zod 💥 or use JSON Schema directly.
  • Seamless merging of PageData and ActionData - Forget about how to combine them, just focus on your form data, always strongly typed.
  • Auto-centering and focusing on invalid form fields.
  • Tainted form detection, prevents the user from losing data if navigating away from an unsaved form. Or use snapshots to save the form state.
  • Automatically coerces FormData into correct types, including arrays and files.
  • For advanced data structures, forget about the limitations of FormData - Post nested data structures like a RPC call.
  • Generates default form values from many validation schemas.
  • Handles multiple forms on the same page.
  • Works both on the server and with single-page applications (SPA)!
  • Convenient handling and validation of file uploads, both on server and client and even in nested data.
  • Proxy objects for handling data conversions to string and back again.
  • Realtime client-side validation for the best possible UX.
  • Create loading spinners easily with three auto-updating timers, based on human perception research.
  • Hook into a number of events for full control over the validation data and the ActionResult, with a possibility to cancel the update at every step.
  • Complete customization with a huge list of options.
  • No JavaScript required as default, but full support for progressive enhancement.
  • Comes with a Super Debugging Svelte Component: SuperDebug.

Get started

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

Help & support

  • If you're using Superforms in non-profit circumstances, support is completely free; a star on Github is more than enough to show your appreciation. Join the #free-support channel on Discord and ask away!
  • If you're making or aiming to make money on your project, a donation proportional to the current profit of the project or the company you work for, will give you a month of commercial support. Donate with one of the options on the website, then ask in the #commercial-support channel on Discord.

Contributing

General feedback, feature requests, bug reports, PR:s, are very welcome as a Github issue or on the Discord server!

Donating

If you appreciate the hard work behind Superforms, please support open source software with a donation.

"Sponsor me on Github" "Buy Me A Coffee" "Support me on Ko-fi"

Keywords

FAQs

Package last updated on 15 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc