github repository for svelte forms lib


Svelte forms lib is a Formik inspired library for building forms easily in a Svelte project.


When building modern web applications forms often play a big part in it. We use forms to log in, place orders, book flights and perform other data-entry tasks.

In developing a form, it's important to create a flow that guides the user efficiently and effectively through the workflow. This library helps you building forms by exposing an easy API for form creation, validation and submission.

How to get started

Install the project

npm i svelte-forms-lib

Import the lib in your .svelte file

import { createForm } from "svelte-forms-lib";

The createForm function returns helpers that you can hook onto your form template.

See examples for further usage