Schema driven form made simple

Forms So good
You'll want more

  • AI friendly

    with documentation to guide your assistants

  • Safe and consistant

    through out your app with real time validation

  • Flexible and customisable

    24 inputs with full customisation and custom component support

  • Powerful built-in functionalities

    pagination and design helpers to make your forms look great

  • Bult with ShadCN UI

    for a modern developer experience

Installation Guide Generator
Personalized setup instructions for your project stack and preferences

Installation Guide Generator

Step 1 of 20%

Project Setup

Configure your project settings

Choose your React framework

Used in installation commands

Does your project use TypeScript?

Installation & Setup

Get the use-formedible hook installed in your project that uses shadcn/ui

Install via shadcn CLI
This installs the hook, all field components, and their dependencies automatically.
npx shadcn@latest add https://formedible.dev/r/use-formedible.json
Basic Usage Example
Quick example showing how to create a form with validation
import { useFormedible } from "@/hooks/use-formedible";
import { z } from "zod";
const schema = z.object({
email: z.string().email("Invalid email"),
message: z.string().min(10, "Message too short"),
});
export function MyForm() {
const { Form } = useFormedible({
schema,
fields: [
{ name: "email", type: "email", label: "Email" },
{ name: "message", type: "textarea", label: "Message" },
],
formOptions: {
defaultValues: { email: "", message: "" },
onSubmit: async ({ value }) => console.log(value),
},
});
return <Form />;
}
📦 What Gets Installed
Complete package includes everything you need
  • hooks/use-formedible.tsx - Main form hook
  • components/fields/* - All field components (text, select, date, etc.)
  • All required shadcn/ui components and dependencies
  • TypeScript definitions and component interfaces

Component Features

Everything you need for building powerful forms with shadcn/ui

Schema Validation
Built-in Zod schema validation with real-time error handling and type safety
Component Override
Replace any field component with your custom implementations seamlessly
Custom Wrappers
Add animations, special styling, or extra functionality to any field
Multi-Page Forms
Built-in pagination with customizable progress indicators and navigation