Basic Usage
Agree to agreement
Sizes
xs
sm
md (default)
lg
xl
Current value: md
Disabled
Disabled
Disabled
CheckboxGroup
Apple
Banana
Orange
Peach
Current value: []
CCheckbox API
Props
Events
modelValue
CCheckboxModel*
Checked status. Can be used with v-model.
theme
CThemeDefault
'primary'The theme color
size
CSizeDefault
'md'The size of checkbox.
label
stringDefault
''The label text.
checkedValue
CCheckboxModelDefault
trueThe value used for checked status.
disabled
booleanDefault
falseDetermine whether the checkbox is disabled or not.
CCheckboxGroup API
Props
Events
options
Array<{ label: string; value: CCheckboxModel }>Default
() => []The options array.
modelValue
Array<CCheckboxModel>*
The value of current checked values. Can be used with v-model.
size
CSizeDefault
'md'The size
gutterSize
CSizeDefault
'md'The gutter size between each checkbox.