Items can be created / modified / deleted and will always keep the defined order.
You can also use v-if
to show (or not) a Tab Item.
# Dynamic
Items can be created / modified / deleted and will always keep the defined order.
You can also use v-if
to show (or not) a Tab Item.
# Position
# Icons
# Sizes
# Types
If you want a more classic style with borders add the is-boxed
type.
Or like Radio Buttons with the is-toggle
or is-toggle-rounded
type.
# Expanded
If you want the tabs to take full width, add the expanded
prop.
# Custom Headers
By adding a slot named header
you can customize the header of a tab item.
# Vertical
Name | Description | Type | Values | Default |
---|---|---|---|---|
v-model | Binding value, tab index | Number | — | 0 |
expanded | Make tab full width | Boolean | — | false |
animated | Tabs have slide animation | Boolean | — | true |
type | Type/Style of the tab, optional | String | is-boxed , is-toggle | — |
size | Size of the tab, optional | String | is-small , is-medium , is-large | — |
position | Position of the tab, optional | String | is-centered , is-right | — |
vertical | Display the tabs vertically. The content will be placed at right. | Boolean | — | false |
destroy-on-hide | Destroy tabitem on hide | Boolean | — | false |
Name | Description | Type | Values | Default |
---|---|---|---|---|
label | Tab label | String | — | — |
icon | Icon name | String | — | — |
icon-pack | Icon pack to use | String | — | mdi |
disabled | Item is disabled | Boolean | - | false |
visible | Item is visible | Boolean | - | true |
This page is open source. Noticed a typo or something's unclear?