Forms

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.

PropValues and behaviorDefault
valuestring[]—
defaultValuestring[][]
onValueChange(values: string[]) => void—
maxSelectedValuesnumber—
namestring—