NavVerticalItem

components/nav/VerticalItem.vue

Single vertical-nav link. Renders a <nuxt-link> (to), an external <a> (href), or plain slotted content, with a prop-driven active state and small/medium size variants.

Usage

<NavVerticalItem to = "—" href = "—" target = "_self" :active = "false" size = "medium" :sub = "sub" > Content here </NavVerticalItem>

Props

PropTypeDefaultDescription
toString—Internal route — renders a <nuxt-link>
hrefString—External URL — renders an <a> (used when no `to`)
targetString'_self'Anchor target for href links
activeBooleanfalseHighlights the link as the current page (caller-controlled)
sizeString'medium''medium' (text-15) or 'small' (text-13)
subBooleanundefinedSub-item treatment (italic, tighter rows; weight/size/gap from the enclosing NavVerticalSubmenu, med 13 / 1px outside one). Unset inherits from an enclosing NavVerticalSubmenu; true/false forces it

Slots

SlotDescription
defaultLink label

Related

Qpoint Brand Style Guide