v0.0.14
components

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.

PropertyTypeDefaultDescription
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"]