Form
A form wired to React Hook Form and Zod, with checks and error messages.
A form wired to React Hook Form and Zod, with checks and error messages.
It uses Label, Button, Card, Field, Input and Input group, which the command adds for you.
npx shadcn@latest add form
npm install @hookform/resolvers radix-ui react-hook-form sonner zod
First time with shadcn/ui? Set it up once.
The code for every component comes with paid plans, along with the rest of the AI toolkit. The first component under each heading is free.