Tabs

Tab 1
Tab 2
Tab 3

RTab is for Tabbar and RPanel is for content of the tabbar. you can use them separately as well.

v-model is mandatory on both RTab and RPanel.value props is mandatory on both RTabItemRPanelItem.

Default

First Tab
Second Tab
Content Of First Tab
Content Of First Tab
Content Of First Tab

Custom Tab Content

  USER
  SETTINGS

Props

fit

Fits tabbar items to parent

First Tab
Second Tab
Content Of First Tab
Content Of First Tab
Content Of First Tab

bordered

First Tab
Second Tab
Content Of First Tab
Content Of First Tab
Content Of First Tab

scrollable

When there are more items on tabbar to fit on parent, setting scrollable to true makes tabbar scroll horizontally.

Title #1
Title #2
Title #3
Title #4
Title #5
Title #6
Title #7
Title #8
Title #9
Title #10

disabled

disabled tab
Tab 2
Tab 3

color

First Tab
Second Tab
Content Of First Tab
Content Of First Tab
Content Of First Tab

moverFull

Sets height of mover fit height of tabbar

First Tab
Second Tab
Content Of First Tab
Content Of First Tab
Content Of First Tab

Props

NameTypeRequiredDefaultDescription
fitbooleanNoundefinedIf true, stretches the width of the tabs to fit tabbar.
borderedbooleanNoundefinedIf true, adds a border around the tabs and tabbar.
scrollablebooleanNoundefinedIf true, allows users to scroll through the tabs horizontally when they don't fit in the container.
moverFullbooleanNoundefinedIf true, expands the tab mover height to the full width of the tabbar item.
colorstringNoundefinedThe color of the tabs.

Events

NameArgumentsDescription
update:modelValuevalue: string, numberWill be called when v-model updates.

TabItem Props

NameTypeRequiredDefaultDescription
valuestring, numberYesundefinedvalue of the tab ( must be specified )