
@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
pnpm add @formerie/sveltenpm
npm install @formerie/svelteYarn
yarn add @formerie/svelteBun
bun add @formerie/svelteUse 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.
// +page.server.ts
import { createFormerieAction } from "@formerie/svelte/kit";
export const actions = { default: createFormerieAction({ form: "fm_t77txbvg43nmar" }) };What happens next
Formerie checks the fields, runs its spam checks, saves the submission, and delivers it the way you set it up in the app. Your code only handles the fields and the response.
Read the framework guideThe packages are in alpha, so their APIs may change.
Publish your first form today.
In early access. New workspaces start on the Free plan, and listed prices aren’t charged.