Checkbox
Checkbox input with aurora gradient effect when checked.
Installation
npx popcn add checkboxBasic Usage
Default
With Label
States
Checked
Disabled
Controlled
Controlled Checkbox
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| checked | boolean | 'indeterminate' | - | Controlled checked state |
| onCheckedChange | (checked: boolean | 'indeterminate') => void | - | Callback when checked state changes |
| disabled | boolean | false | Disable the checkbox |