MeldUI

Tabs

Tabbed navigation with line and pill variants for organizing content.

Usage

Pill Variant

Vertical & Disabled

Use orientation="vertical" for vertical layout. Individual triggers can be disabled.

Props

PropTypeDefaultDescription
variant'line' | 'pill''line'The visual style of the tabs.
defaultValuestring-The default active tab value.
modelValuestring-The controlled active tab. Use with v-model.

Sub-components

TabsList

Container for tab trigger buttons.

PropTypeDefaultDescription
loopboolean-Keyboard navigation loops from last to first tab.

TabsTrigger

Button that activates a tab panel.

PropTypeDefaultDescription
value*string-Unique value associating this trigger with its content panel.
disabledboolean-Prevents activation of this tab.

TabsContent

Panel content shown when the associated trigger is active.

PropTypeDefaultDescription
value*string-Unique value associating this panel with its trigger.
forceMountboolean-Force mount content for CSS animations.