Forms
Checkbox
Animated checkbox with indeterminate state support.
Checkbox
Standard boolean toggle for forms and lists. Supports controlled and uncontrolled states, along with indeterminate logic.
Checkbox Group
Manage a set of related options with shared state and layout control. Automatically handles layout direction and spacing.
Notification Channels (Column)
Preferred Days (Row)
Real-world: Permissions Manager
A controlled example showing how to manage complex state with a CheckboxGroup.
Project Permissions
readwrite
Properties
| Prop | Type | Default | Description |
|---|---|---|---|
checked | boolean | — | Controlled Boolean checked state |
defaultChecked | boolean | — | Initial uncontrolled checked state |
indeterminate | boolean | — | Configures the indeterminate option |
onChange | (checked: boolean) => void | — | Callback function triggered when the value changes |
label | string | — | Primary text label description |
disabled | boolean | — | If true, disables all user interaction and applies faded opacity |
required | boolean | — | Renders asterisk indicating a mandatory field |
id | string | — | Unique HTML element identifier |
options | { label: string | — | Array of option items containing value and label elements |
value | string | — | Raw data string or URL to encode into the QR grid |