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
titleString—Label text shown beside the icon
isExpandedBooleantrueReveals the label; when false only the icon shows
toString—Route the item links to (nuxt-link target)
basePathString—Path prefix matched against the current route to set the active state

Slots

SlotDescription
defaultIcon area (28px-wide centered container)

Related

Qpoint Brand Style Guide