Checkbox
A customizable checkbox input component. Allows toggling a boolean value with two-way binding.
API Reference
CheckboxProps
Extends all the standard HTML attributes of the `<input type="checkbox">` element.
| Property | Type | Default | Description |
|---|---|---|---|
onCheckedChange | function | Callback when checked change | |
ref $bindable | HTMLInputElement | Reference to the rendered DOM element. | |
color | union | Checkbox color | |
size | union | "2" | Checkbox size |
radius | union | Checkbox radius |
Examples
Colors
Sizes
States
Group
group: ["1"]