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
CTheme
Default
'primary'
The theme color
size
CSize
Default
'md'
The size of checkbox.
label
string
Default
''
The label text.
checkedValue
CCheckboxModel
Default
true
The value used for checked status.
disabled
boolean
Default
false
Determine 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
CSize
Default
'md'
The size
gutterSize
CSize
Default
'md'
The gutter size between each checkbox.