Checkbox
Basic
Icon
Use icon
prop to change the checked icon.
Array
ACheckbox
also support arrays like a native checkbox.
Selected: []
Color
You can use color
prop to change the checkbox color.
Indeterminate
You can trigger indeterminate state of checkbox by setting v-model
value to null
. Moreover, you can also customize the indeterminate value by setting indeterminate-value
prop.
By default, indeterminate value doesn't get cycled through the options. If you want to cycle through the options, you can set cycle-indeterminate
prop to true
.
API
Icon to render in checkbox square instead of check
Bind v-model value
Checkbox color
Disable checkbox
Switch value when in off state
Set custom value for indeterminate state
Enable cycling indeterminate state
Bind classes to input element
Label text
Switch value when in on state