CheckboxGroup
Group independent options that share a form name and a list of selected values.
Basic usage
Give each Checkbox a distinct value. After you select a second channel in this example, the limit disables the remaining choice until you clear a selection.
Notification channels
API
Key props and defaults.
| Prop | Values and behavior | Default |
|---|---|---|
value | string[] | — |
defaultValue | string[] | [] |
onValueChange | (values: string[]) => void | — |
maxSelectedValues | number | — |
name | string | — |