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

svelte-former

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-former

Svelte Form Element with easy validation

  • 1.1.13
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

Svelte Former

github-license github-stars github-watchers github-forks

This is a svelte from component that handles:

  • Form creation
  • Form validation using Fastest Validator
  • Dynamic fields triggered by values in other fields
  • Rich text (WISIWYG) editor via SunEditor
  • Autocomplete controls with fuzzy search support

Since svelte is the Magical disappearing framework that compiles into framework-less vanilla JavaScript, this component can also be used with ordinary JavaScript.

Alt

Why another form component?

I totally love fastest-validator especially because it is blazing fast and super easy to use. I wanted to create a forms component that would also be:

  • Super fast
  • Simple to use
  • Ability to add custom validators with ease

I used and loved Svelte Forms. However one of the features I wanted the most, and found it missing in other libraries is Dynamic Fields. Svelte-Former comes with the ability to bind two fields together so that changing the value in one field automatically updates another field. A good example is when creating country and city select boxes where selecting a country updates all the cities, say via an API. Check out the Demo

Screenshot

Keywords

FAQs

Package last updated on 04 Jul 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