Skip to content

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 ​

NameTypeDefaultDescription
modelValuebooleanfalseChecked state
indeterminatebooleanfalseIndeterminate state
disabledbooleanfalseDisabled
labelstring—Label text

Emits ​

NameParametersDescription
update:modelValuebooleanState changed

Slots ​

NameDescription
defaultCustom label content, takes precedence over label prop

MIT License