All components

Checkbox Group

A set of checkboxes sharing one value array, stacked or in a row, with an optional select-all parent.

Variants

outline
solid
subtle

Sizes

xs
sm
md
lg

Horizontal

orientation="horizontal" lays the items out in a wrapping row; the gap follows the size.

Select all

Give Root allValues and mark one Item parent: it checks when every item is selected, turns indeterminate on a partial selection, and toggles them all.

Install

Source

components/ui/ark-ui/checkbox-group.tsx