Checkbox
An accessible checkbox input with custom styling and label support.
Interactive Playground
Checkbox
Toggle the checkbox state
Checked:
falseProps
| Prop | Type | Default | Description |
|---|---|---|---|
checked | boolean | false | Checkbox state (bindable) |
disabled | boolean | false | Disable the checkbox |
required | boolean | false | Mark as required |
name | string | '' | Form field name |
id | string | - | Custom ID (auto-generated if not provided) |
onchange | function | - | Change event handler |