UxFilterGroup

components/ux/FilterGroup.vue

Toggle-button group for filtering or switching views, with single, multiple, and required selection modes.

Selected: brand-v15

Scenarios

Multiple: ["design"]

components/ux/FilterGroup.vue

Usage

<UxFilterGroup :options = "—" :modelValue = "modelValue" :multiple = "false" :required = "false" tone = "grape" />

Props

PropTypeDefaultDescription
optionsArrayStrings or { value, label } objects
modelValueString | ArraynullSelection (v-model); array when multiple
multipleBooleanfalseAllow multiple active options
requiredBooleanfalseSingle mode: keep one option always selected
toneString'grape'Active style: grape, leaf, or dark

Events

EventDescription
update:modelValueWhen the selection changes

Related

Qpoint Brand Style Guide