Invisible Docs
GalerieTokens

Docs-Navigation — component.docs-nav

Kapitel-Navigation fuer Dokumentationen und Entwicklerportale (Docs Shell): Gruppen mit Ueberschrift, Eintraege auf festem Symbolraster, aktuelle Seite markiert (Prop active oder automatisch per URL), externe Ziele mit Pfeil, optionaler Filter. Ohne JavaScript voll nutzbar. Bewusst getrennt von der

Componentv1.2.1Navigationweb.documentweb.application

Beispiele

Mit Filterfeld

Unsicherer Link wird verworfen

Eigenschaften

PropTypDefault
labelstring"Dokumentation"
groups *array—
filterablebooleanfalse
filterPlaceholderstring"Navigation filtern"
placementstring: all | drawer"all"
activeMatchstring: auto | none"auto"

Events & Slots

Events: navigate

Stellschrauben (Komponenten-Tokens)

TokenDefault
--docsnav-rowvar(--size-9)
--docsnav-insetvar(--size-3)
--docsnav-iconvar(--size-4)
--docsnav-icon-gapvar(--size-3)
--docsnav-group-gapvar(--size-6)
--docsnav-radiusvar(--radius-control)
--docsnav-textvar(--color-text-muted)
--docsnav-text-hovervar(--color-text-default)
--docsnav-titlevar(--color-text-default)
--docsnav-hovervar(--color-surface-sunken)
--docsnav-active-surfacevar(--color-accent-soft)
--docsnav-active-textvar(--accent-text-color, var(--color-text-link))
--docsnav-active-markervar(--color-action-primary)

Genutzte Design-Tokens

border.emphasis border.hairline color.accent-soft color.action.primary color.border.default color.surface.default color.surface.sunken color.text.default color.text.link color.text.muted duration.fast easing.standard focus.ring-color focus.ring-width font.family.default leading.base leading.tight radius.control radius.full size.1 size.2 size.3 size.4 size.6 size.9 text.md text.sm text.xs weight.medium weight.semibold