felipemenezes098

Checkbox Group Form

Forms 4

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>
  );
}

Dependencies

More by felipemenezes098

View all
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1.1K
  • Editorial Collage Hero

    Editorial Collage Hero

    487
  • Split Hero With Image Cards

    Split Hero With Image Cards

    439
  • Editorial Image Hero

    Editorial Image Hero

    409
  • Scroll 01

    Scroll 01

    393
  • Real Estate Search Hero

    Real Estate Search Hero

    214
  • Editorial Hero

    Editorial Hero

    194
  • Hero with Dashboard Mockup

    Hero with Dashboard Mockup

    141

More in Forms

View all
  • Contact Card

    Contact Card

    1.1K
  • Book A Demo 1

    Book A Demo 1

    87
  • Premium Auth

    Premium Auth

    556
  • Login 1

    Login 1

    61
  • Form

    Form

    138
  • Authentication Card

    Authentication Card

    51
  • Book A Demo 3

    Book A Demo 3

    98
  • Login 2

    Login 2

    11