0
Components
API reference

Checkbox Group

Coordinates shared selection state across multiple checkboxes, including automatic parent indeterminate sync and tree connectors.

Installation

Usage

Examples

Nested Parent

API Reference

CheckboxGroup

Wraps Base UI CheckboxGroup. When a child label contains <Checkbox parent />, sibling items are automatically indented with subtle tree connector lines.

PropTypeDefaultDescription
valuestring[]-Controlled array of checked values
defaultValuestring[][]Initial uncontrolled array of checked values
onValueChange(value: string[]) => void-Called when the group selection changes
allValuesstring[]-Full list of values required when using parent
disabledbooleanfalseDisables all checkboxes inside the group
classNamestring-Additional CSS classes

© taut ui — built with Base UI and Tailwind CSS v4.