IconNavItem

components/icon-nav/Item.vue

Left-sidebar nav link: an icon slot plus a collapsible bold label. Resolves its active state from the current route (matching basePath) and draws a grape underline when active.

components/icon-nav/Item.vue

Usage

<IconNavItem title = "—" :isExpanded = "true" to = "—" basePath = "—" > Content here </IconNavItem>

Props

PropTypeDefaultDescription
titleStringLabel text shown beside the icon
isExpandedBooleantrueReveals the label; when false only the icon shows
toStringRoute the item links to (nuxt-link target)
basePathStringPath prefix matched against the current route to set the active state

Slots

SlotDescription
defaultIcon area (28px-wide centered container)

Related

Qpoint Brand Style Guide