Checkbox Group
A managed group of related checkboxes. Each item has a label, optional description, and inherits the disabled state of its group.
Newsletter and product updates.
Important security alerts.
Orientation
Installation
Props
| Prop | Type | Default | Description |
|---|---|---|---|
value | string[] | — | Controlled list of selected values. |
defaultValue | string[] | — | Uncontrolled default selection. |
onValueChange | (value: string[]) => void | — | Called when the selection changes. |
orientation | "vertical" | "horizontal" | "vertical" | Layout direction. |
disabled | boolean | false | Disable all items. |