About
A checkbox group bound to React Hook Form with Zod validation requiring at least one selection, showing an error and a success toast on submit.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Checkbox Group Form to your project and fits it to your theme.
Code
How Checkbox Group Form is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { Checkbox12 } from "@/components/ui/checkbox-12";
import { Toaster } from "sonner";
export default function Default() {
return (
<div className="flex min-h-svh w-full items-center justify-center p-6">
<Checkbox12 />
<Toaster />
</div>
);
}
















