Web
React, Vue, or wrap the headless TypeScript engine in any framework.
Web quickstartDon't want to run a backend?No backend? Formhaus Cloud hosts your forms. Try Cloud
Describe a form once in JSON.Share it, embed it, or render it in any web app or natively in Swift or Kotlin.


A JSON form definition holds the fields, steps and logic. It renders and validates the same way everywhere.
import { parseDefinition } from '@formhaus/core';
import { FormRenderer } from '@formhaus/react';
import '@formhaus/core/style.css';
import json from './contact.json';
const definition = parseDefinition(json);
export function ContactForm() {
return (
<FormRenderer
definition={definition}
onSubmit={(values) => console.log(values)}
/>
);
}
Runs locally in your browser. Nothing is sent or saved.
Keep your design system. Let Formhaus handle the behavior.
One definition for any design system. All answers stay in your browser.
Step-by-step guides for the forms most projects need.
Ask whether the client needs design or development, then branch to the questions for that path.
Use conditional fields to show company, invoice and delivery details only to business buyers.
Keep the form on your site and collect messages in Formhaus Cloud, without building a backend.
Share one form definition and render it in all your apps.
React, Vue, or wrap the headless TypeScript engine in any framework.
Web quickstartNative forms for your iOS and macOS apps.
Swift guideA Kotlin engine and Jetpack Compose renderer.
Kotlin guideNative ports are 0.x previews. Check supported versions and differences.
Formhaus gives Claude Code, Codex and Cursor the schema and tools to check their work.
npx formhausWorks with Claude Code, Codex, Cursor and Claude Desktop. Manual setup
“Build a contact form with Formhaus: name, email, message.”
The agent validates the rules and walks every branch before it hands the form over.
~/my-app $ npx formhausFormhaus is ready in Claude Code, Codex, Cursor and Claude Desktop. ✓ Claude Code added MCP server and form skill ✓ Codex added MCP server ✓ Cursor added MCP server and Cursor rule ✓ Claude Desktop added MCP serverNext 1. Restart your agents. 2. Ask one: "Build a contact form with Formhaus: name, email, message." 3. Show it on your site: npm i @formhaus/core @formhaus/react For Vue use @formhaus/vue. Guide: https://formhaus.dev/guide/ No site? Publish it and collect responses at https://app.formhaus.devSee every file: npx formhaus --verbose~/my-app $
A ready backend for your forms when you just need to collect the answers.


Already have a backend? Keep your own submit handler. The framework stays free and open source.
Start with the framework. Add the pieces you need.
MIT licensed. No account required for the framework.