Checkbox
Checkbox with a gentle spring bounce and SVG stroke animation on check, with indeterminate state support.
Basic Usage
vue
<ACheckbox v-model="checked" label="Agree to terms" />Indeterminate
vue
<ACheckbox v-model="value" indeterminate label="Partial selection" />Disabled
API
Props
| Name | Type | Default | Description |
|---|---|---|---|
modelValue | boolean | false | Checked state |
indeterminate | boolean | false | Indeterminate state |
disabled | boolean | false | Disabled |
label | string | — | Label text |
Emits
| Name | Parameters | Description |
|---|---|---|
update:modelValue | boolean | State changed |
Slots
| Name | Description |
|---|---|
| default | Custom label content, takes precedence over label prop |