Checkbox
A customizable checkbox input component. Allows toggling a boolean value with two-way binding.
View source
<script lang="ts">
import { Checkbox } from 'svxui';
</script>
<Checkbox checked/>
API Reference
Property | Type | Default | Description |
---|---|---|---|
color | string | number | symbol | "neutral" | Checkbox color |
elementRef $bindable | HTMLInputElement | Rendered DOM element | |
radius | union | Checkbox radius | |
size | union | "2" | Checkbox size |
Examples
Label
Colors
Sizes
States
Disabled
Group
group: ["1"]