Form

A simple form composition with card, field, and input primitives.

Preview

Form Component
Use with react-hook-form and zod for full form validation.

Installation

Install the package using your preferred package manager:

npx shadcn@latest add @airy/form

Usage

Import the component from the package:

import { Form } from "@/components/ui/form"

Then use it in your application:

<Form />

Examples

Default

Form Component
Use with react-hook-form and zod for full form validation.