Checkbox
Buttons
An accessible animated checkbox with spring check-mark animation, error state, label support, and keyboard interaction.
Loading preview...
Customize
Checked
Label
Disabled
Error
Props
| Prop | Type | Default | Description |
|---|---|---|---|
checked | boolean | false | Whether the checkbox is checked. |
onChange | (checked: boolean) => void | undefined | Callback when the checkbox is toggled. |
label | string | undefined | Label text displayed next to the checkbox. |
disabled | boolean | false | Disables the checkbox. |
error | string | undefined | Error message displayed below the checkbox. |
className | string | '' | Additional CSS classes. |