Skip to content

Checkbox

Demo

Notification channelsChoose up to two
Selected 1/2

Checkbox Group

Use VCheckboxGroup to manage selected values, max count, and layout direction.

Props

PropTypeDefaultDescription
checkedbooleanundefinedChecked state for standalone usage
valuestring | number | booleantrueCheckbox value
labelstringundefinedLabel text
disabledbooleanfalseDisable checkbox

CheckboxGroup Props

PropTypeDefaultDescription
valueArray<string | number | boolean>[]Selected values
maxnumberundefinedMaximum selected count
direction'horizontal' | 'vertical''vertical'Layout direction
disabledbooleanfalseDisable the group

Events

EventPayloadDescription
update:checkedbooleanChecked state changed
update:valueArray<string | number | boolean>Group value changed
changeboolean | Array<string | number | boolean>Value changed