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-group

Features

  • Shared value / onValueChange across items
  • Parent item for select-all when allValues is 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

AttributeElementPurpose
role="group"Root (Radix twin)Groups related checkboxes
role="checkbox"Item controlEach option
aria-checked="mixed"Parent itemPartial 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

motion.dev
base-ui