Skip to content

@formerie/svelte

Formerie for SvelteKit

Keep your SvelteKit code. Formerie validates, stores, and delivers each submission.

Works with

Install

These packages are in alpha, so their APIs may change.

pnpm

Shell
pnpm add @formerie/svelte

npm

Shell
npm install @formerie/svelte

Yarn

Shell
yarn add @formerie/svelte

Bun

Shell
bun add @formerie/svelte

Use it

createFormerieAction is a form action from @formerie/svelte/kit. It works without JavaScript, and a rejection keeps the visitor’s answers.

You’ll need a published form. Replace fm_t77txbvg43nmar with your form's ID from the app.

TypeScript
// +page.server.ts
import { createFormerieAction } from "@formerie/svelte/kit";

export const actions = { default: createFormerieAction({ form: "fm_t77txbvg43nmar" }) };

What happens next

Publish your first form today.

In early access. New workspaces start on the Free plan, and listed prices aren’t charged.