Skip to content

Tab

Single tab in the component Tabs.

Props

to
String or object for the link, the value turns the element to router-link
type:String, Object
default:null
text
required
Tab text
type:String
default:''
active
required
Information about whether the tab is active
type:Boolean
default:false
id
required
Unique tab ID
type:String
default:''
reverse
Reverses the order of the default slot relative to the text
type:Boolean
default:false

Slots

default
Main slot for icon or component Badge types

Events

set-tab
Setting an active tab

Examples

The tabs are not demonstrated alone, but you can see their appearance in the component Tabs.