CheckboxGroup

Form

Accessible CheckboxGroup for multi-selection, and form integration

Checkbox Group

CheckboxGroup coordinates multiple Checkbox components and manages their selected values as an array.

Basic group

Pass a value array and onValueChange to control the group.

Selected interests

The current value of the checkbox group

No interests selected

Interest selection

Build visually rich groups using cards, icons and badges.

Interests

Choose the topics you're most interested in.

Selected interests:None

Pricing plans

Use CheckboxGroup to allow selecting multiple add-ons or features.

Add-ons

Choose one or more add-ons to include with your plan.

Skill selection

Vertical lists are perfect for profile skills and preferences forms.

Skills

Select the skills that best describe your experience.

Usage Guidelines

When to Use

  • Multiple selections
  • Grouped options
  • Filter checkboxes

Accessibility

  • Fieldset with legend for grouping
  • Each checkbox labeled properly

Performance

  • Batched state updates
  • Memoized children

Common Mistakes

  • Not grouping with fieldset
  • Missing group label

Frequently Asked Questions

CheckboxGroup manages multiple related checkboxes with shared state, validation, and accessibility.
Yes, CheckboxGroup integrates with form validation for min/max selection rules.

View on GitHub

See the full source code on GitHub