Invisible Docs
GalerieTokens

Docs-Kopfnavigation — component.docs-topnav

Kopf-Navigation fuer Dokumentationen und Entwicklerportale (topbar-Slot von template.docs-shell): Eintraege als Pillen, Eintraege mit Unterpunkten als Aufklapp-Menue mit Symbol und Kurzbeschreibung (natives details, ohne JavaScript nutzbar), optionales Suchfeld als GET-Formular auf eine echte Suchse

Componentv1.2.1Navigationweb.documentweb.application

Beispiele

Unsicherer Link und ungültiger Parameter werden verworfen

Eigenschaften

PropTypDefault
labelstring"Hauptnavigation"
items *array—
searchCompactbooleanfalse
searchActionstring""
searchParamstring"q"
searchPlaceholderstring"Suchen"
searchHiddenarray[]

Events & Slots

Events: navigate

Stellschrauben (Komponenten-Tokens)

TokenDefault
--docstopnav-rowvar(--size-9)
--docstopnav-textvar(--color-text-muted)
--docstopnav-hovervar(--color-surface-sunken)
--docstopnav-active-surfacevar(--color-accent-soft)
--docstopnav-active-textvar(--accent-text-color, var(--color-text-link))
--docstopnav-panel-surfacevar(--color-surface-overlay, var(--color-surface-default))

Genutzte Design-Tokens

border.hairline color.accent-soft color.border.default color.border.subtle color.surface.default color.surface.inverse color.surface.overlay color.surface.sunken color.text.default color.text.inverse color.text.link color.text.muted duration.fast easing.standard elevation.overlay focus.ring-color focus.ring-offset focus.ring-width font.family.default font.family.mono layer.sticky leading.base leading.tight radius.control radius.full radius.surface size.1 size.10 size.12 size.2 size.3 size.4 size.5 size.8 size.9 text.md text.sm text.xs weight.medium weight.semibold