Cnippet

Parent Checkbox Group

Forms 1

About

A checkbox group with a parent checkbox that selects or deselects all child options and shows an indeterminate state when only some are selected.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Parent Checkbox Group to your project and fits it to your theme.

Code

How Parent Checkbox Group is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import ParentCheckboxGroup from "@/components/ui/v-checkbox-group-3";

export default function Default() {
  return (
    <div className="flex min-h-64 items-center justify-center p-8">
      <ParentCheckboxGroup />
    </div>
  );
}

More by Cnippet

View all
  • Team

    Team

    1.3K
  • Davincho Hero-1

    Davincho Hero-1

    683
  • Aero Hero-3

    Aero Hero-3

    558
  • Features

    Features

    510
  • Random Letter Swap Navigation

    Random Letter Swap Navigation

    487
  • Services with Animated Hover Modal

    Services with Animated Hover Modal

    465
  • Blogs

    Blogs

    396
  • Aero Hero-1

    Aero Hero-1

    356

More in Forms

View all
  • Premium Auth

    Premium Auth

    500
  • Login 1

    Login 1

    52
  • Book A Demo 3

    Book A Demo 3

    83
  • Authentication Card

    Authentication Card

    47
  • Contact Card

    Contact Card

    1K
  • Login Card

    Login Card

    32
  • Book A Demo 1

    Book A Demo 1

    69
  • Login 2

    Login 2

    7

Explore more

Part of Cnippet — browse the full library on 21st.dev.