# Tabs
# Demo
Selected tab: 1
<nav class="navigation">
<tabs :tabs="tabs" v-model="tab"></tabs>
</nav>
<div class="content">
Selected tab: {{ tab }}
</div>
# Props
| tabs | Type
Description
An array representing the tabs ( [{ id: 1, name: 'Tab 1', disabled: false }])
|
| active | Type
Description
The id of the active tab
|
| type | Type Default
Description
Can be one of: tabs, pills |
| stacked | Type Default
Description
Should the tabs be stacked? |
| preselect-first-tab | Type Default
Description
Preselect the first tab if an active tab isn't specified |
# Events
| selected | Parameters Description Emitted when a tab gets selected |