UxTabGroup

components/ux/TabGroup.vue

Compact joined-segment switcher — the 24h/7d/30d range-picker look; the active segment gets a primary tint. Always exactly one segment selected; optional right-aligned action slot.

Scenarios
components/ux/TabGroup.vue

Usage

<UxTabGroup :options = "—" :modelValue = "modelValue" />

Props

PropTypeDefaultDescription
optionsArrayStrings or { value, label } objects (required)
modelValueString | NumbernullActive tab value (v-model); clicking the active tab is a no-op

Events

EventDescription
update:modelValueWhen a different tab is clicked

Slots

SlotDescription
rightRight-aligned content on the tab bar (e.g. an add action)

Related

Qpoint Brand Style Guide