Cnippet

Checkbox Group Field

Forms

About

A form field that groups multiple selectable checkboxes under a legend, with a default selection.

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

Code

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

Usage.tsx

import Field13 from "@/components/ui/v-field-13";

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

Explore more

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