AppNavigationItem API
API reference docs for the Stash AppNavigationItem
component. Learn about the props, CSS, and other APIs of this exported module.
Import
ts
import AppNavigationItem from '@leaflink/stash/AppNavigationItem.vue';
Props
Name | Type | Default | Description |
---|---|---|---|
icon | IconName | - | Icon to render on the left side |
label | string | '-' | Text label to render |
to | RouteLocationRaw | - | Location to navigate to |
isActive | boolean | false | Indicates whether the route is active or not |
Slots
Name | Description |
---|---|
default | Default component slot, for content to the right side of item |
sub-items | Sub items component slot, for rendering nested navigation items |
Events
None