Skip to content

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

NameTypeDefaultDescription
valuestring '-' The tab identifier
anchorPropsRecord-Props for the `<a>` element when the `href` prop is used
badgestring | number-The badge's content
disabledboolean-Will render a plain text item if true.
hrefstring '-' Anchor tag href. Used for navigating to non-vue pages, such as Django pages in marketplace.
routerLinkPropsOmit-Props for the `<RouterLink>` element when the `to` prop is used
toRouteLocationRaw-Router link `to` prop

Slots

NameDescription
default

Events

None