Checkbox Group
Last updated: October 14, 2026
Multi-select checkbox list with optional parent/select-all and indeterminate state, Base UI twin and Radix-parity twin.
Installation
npx smoothui-cli add checkbox-groupFeatures
- Shared
value/onValueChangeacross items - Parent item for select-all when
allValuesis set — auto indeterminate when partially selected - Compound parts:
CheckboxGroup,CheckboxGroupItem - Same spring checkmark / dash glyphs as Checkbox
- Base UI by default; Radix twin is a hand-rolled group (Radix has no CheckboxGroup)
States
Features
A fruit list with a parent checkbox controlling the children.
Disabled
The whole group ignores interaction.
Accessibility
ARIA Attributes
| Attribute | Element | Purpose |
|---|---|---|
role="group" | Root (Radix twin) | Groups related checkboxes |
role="checkbox" | Item control | Each option |
aria-checked="mixed" | Parent item | Partial selection |
Provide aria-label or aria-labelledby on the group.
Reduced Motion
Glyph enter/exit animations respect prefers-reduced-motion.
Radix twin
Radix has no CheckboxGroup. The Radix twin implements the same SmoothUI props with local state + Radix Checkbox.
Props
CheckboxGroupProps
CheckboxGroupItemProps
Powered by
© 2026 SmoothUI. Built by Eduardo Calvo.