React Hook Form + Zod
- from @flx
Controller binds a radio group to RHF; Zod requires a selection.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @flx/dropdown-18Registry dependencies3
- dropdown-menu
- button
- field
