Checkbox Group
Holds a set of related checkboxes as one array value, with an optional parent box that selects all.
Paste this into your agent.
Checkbox Group lets people pick any number of related options, such as notification channels, permissions or visible columns. It shares size and selection across the boxes and can show a mixed parent state.
Install
bashnpx shadcn@4.18.0 add @siteplane/checkbox-group
Import it from @/siteplane/components/checkbox-group. The project needs Siteplane UI's one-time setup first: .
When to pick it
- vs : Pick Radio Group when people may choose only one option.
- vs : Pick Combobox with
multiplewhen the list is long enough to need search. - vs : Pick Toggle Group with
multiplefor compact tool options that act on press and do not submit.
Rules
- Give each Checkbox a unique
value. Control selection withvalueandonValueChangewhen needed. - For select-all, mark one Checkbox as
parentand list each child's value inallValues. - Render the Field as a Fieldset with a legend. That names the group and applies the Field
nameto each box. - For a horizontal layout, use
className="flex-row gap-4". Your gap utility replaces the default 8 px vertical gap.
Reference
Add to your agent
Print this skill from the terminal, or connect the whole catalog over MCP. Setup guides
CLI
MCP server
Questions
Related skills
Siteplane Checkboxby UI Skillbook
A box for one independent yes/no choice, with indeterminate state and form submission built in.
Siteplane UI
Siteplane Date Fieldby UI Skillbook
A typed date input built from day, month and year segments, with an optional calendar popover.
Siteplane UI
Siteplane Fieldby UI Skillbook
Ties a control to its label, help text and validation messages, with top or floating labels.
Siteplane UI
Siteplane Fieldsetby UI Skillbook
Groups related form fields under a shared legend and optional description, and can disable them together.
Siteplane UI