Checkbox Group
A checkbox group allows a user to select multiple items from a list of options.
EmailSMSPush
Orientation
CheeseMushroomsPeppers
Disabled
EmailSMS
Controlled
EmailSMSPush
Component props
| Name | Type | Description |
|---|---|---|
| label | string | Label text displayed above the group |
| value | string[] | Controlled selected values |
| defaultValue | string[] | Default selected values |
| orientation | string | "vertical" | "horizontal" (default: "vertical") |
| isDisabled | boolean | Disables all checkboxes in the group |
| onChange | (value: string[]) => void | Called when the selection changes |
| children | ReactNode | Checkbox components with value props |