Skip to content

AppTopbar API

API reference docs for the Stash AppTopbar component. Learn about the props, CSS, and other APIs of this exported module.

Import

ts
import AppTopbar from '@leaflink/stash/AppTopbar.vue';

Props

NameTypeDefaultDescription
hrefstring '/' Url for the logo anchor wrapper
sidebarOpenedbooleanfalseIndicates if the AppSidebar is opened or not for styling purposes

Slots

NameDescription
actionsActions slot, for showing any actions to the left of the avatar
avatarAvatar slot, for showing the avatar on the far right of the header
textText slot, for showing informative texts on the left of large viewports

Events

NameDescription
toggle-sidebar