Checkbox
A toggleable checkbox with optional label.
Installation
rubics add checkboxUsage
Basic
With Label
Props
| Name | Type | Default | Description |
|---|---|---|---|
| checked | boolean | false | Checked state |
| onCheckedChange | (val: boolean) => void | - | Toggle handler |
| label | string | - | Label text |
| disabled | boolean | false | Disables interaction |
9:41
Settings
Enable notifications
Dark mode
Auto-update
Analytics (disabled)
