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
Beispiele
Entwicklerportal mit Gruppen
Mit Filterfeld
Unsicherer Link wird verworfen
Eigenschaften
| Prop | Typ | Default |
|---|---|---|
label | string | "Dokumentation" |
groups * | array | — |
filterable | boolean | false |
filterPlaceholder | string | "Navigation filtern" |
placement | string: all | drawer | "all" |
activeMatch | string: auto | none | "auto" |
Events & Slots
Events: navigate
Stellschrauben (Komponenten-Tokens)
| Token | Default |
|---|---|
--docsnav-row | var(--size-9) |
--docsnav-inset | var(--size-3) |
--docsnav-icon | var(--size-4) |
--docsnav-icon-gap | var(--size-3) |
--docsnav-group-gap | var(--size-6) |
--docsnav-radius | var(--radius-control) |
--docsnav-text | var(--color-text-muted) |
--docsnav-text-hover | var(--color-text-default) |
--docsnav-title | var(--color-text-default) |
--docsnav-hover | var(--color-surface-sunken) |
--docsnav-active-surface | var(--color-accent-soft) |
--docsnav-active-text | var(--accent-text-color, var(--color-text-link)) |
--docsnav-active-marker | var(--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