Installation

Below you will learn how to add Formisch to your project.

TypeScript

If you are using TypeScript, we recommend that you enable strict mode in your tsconfig.json so that all types are calculated correctly.

The minimum required TypeScript version is v5.0.2.

{
  "compilerOptions": {
    "strict": true,
    // ...
  }
}

Install Valibot

Formisch uses Valibot for schema-based validation. You need to install it first because it is a peer dependency.

npm install valibot     # npm
yarn add valibot        # yarn
pnpm add valibot        # pnpm
bun add valibot         # bun
deno add npm:valibot    # deno

Install Formisch

You can add Formisch to your project with a single command using your favorite package manager.

npm install @formisch/svelte     # npm
yarn add @formisch/svelte        # yarn
pnpm add @formisch/svelte        # pnpm
bun add @formisch/svelte         # bun
deno add npm:@formisch/svelte    # deno

Then you can import it into any JavaScript or TypeScript file.

import { … } from '@formisch/svelte';

Contributors

Thanks to all the contributors who helped make this page better!

  • GitHub profile picture of @fabian-hiller

Partners

Thanks to our partners who support the project ideally and financially.

Sponsors

Thanks to our GitHub sponsors who support the project financially.

  • GitHub profile picture of @vasilii-kovalev
  • GitHub profile picture of @saturnonearth
  • GitHub profile picture of @ruiaraujo012
  • GitHub profile picture of @hyunbinseo
  • GitHub profile picture of @nickytonline
  • GitHub profile picture of @KubaJastrz
  • GitHub profile picture of @andrewmd5
  • GitHub profile picture of @Thanaen
  • GitHub profile picture of @caegdeveloper
  • GitHub profile picture of @bmoyroud
  • GitHub profile picture of @dslatkin