TanStack Form + Zod
- from @flx
form.Field wires a checkbox group to TanStack Form; Zod validates on submit and shows an error when none are selected.
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-13Registry dependencies3
- checkbox
- field
- button
