React Hook Form + Zod
- from @flx
Controller binds a checkbox group to React Hook Form; Zod requires at least one 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/checkbox-12Registry dependencies3
- checkbox
- field
- button
