Tab API
API reference docs for the Stash Tab
component. Learn about the props, CSS, and other APIs of this exported module.
Import
ts
import Tab from '@leaflink/stash/Tab.vue';
Props
Name | Type | Default | Description |
---|---|---|---|
value | string | '-' | The tab identifier |
anchorProps | Record | - | Props for the `<a>` element when the `href` prop is used |
badge | string | number | - | The badge's content |
disabled | boolean | - | Will render a plain text item if true. |
href | string | '-' | Anchor tag href. Used for navigating to non-vue pages, such as Django pages in marketplace. |
routerLinkProps | Omit | - | Props for the `<RouterLink>` element when the `to` prop is used |
to | RouteLocationRaw | - | Router link `to` prop |
Slots
Name | Description |
---|---|
default |
Events
None