Back to CheckboxGroup
CheckboxGroup

Options API

Notification channels with four options and controlled value.

Product updates and account alerts.

Security codes and urgent messages.

Mobile alerts when you're away from email.

A summary every Monday morning.

Choose every channel you want to hear from us on.

API

PropTypeDefaultDescription
options*{ value: string; text: string; disabled?: boolean; helpText?: React.ReactNode }[]Multi-select option list.
value / defaultValuestring[]Controlled / uncontrolled selected values.
onValueChange(value: string[]) => voidFires when the selection changes.
labelReact.ReactNodeTop field label.
helpTextReact.ReactNodeGroup-level help text.
errorReact.ReactNodeError text; sets `aria-invalid` on the group.
orientation"vertical" | "horizontal"verticalStack options vertically or wrap horizontally.
controlPosition"start" | "end"startInline-start/end placement for each option.
View full API on CheckboxGroup