Inhaltsverzeichnis — component.toc
Inhaltsverzeichnis mit Ankerlinks und Scrollspy. Standard: items; optional H2/H3 aus dem Hauptinhalt der umgebenden Docs Shell, mit sicheren Ankern und dynamischer Aktualisierung. 1.4.0: feste Texte mehrsprachig (invisible_i18n).
Componentv1.4.1Navigationweb.documentweb.application
Beispiele
Drei Abschnitte
Unsicherer Link wird verworfen
Eigenschaften
| Prop | Typ | Default |
|---|---|---|
title | string | "Auf dieser Seite" |
items * | array | — |
padding | string: standard | none | sm | md | lg | xl | "standard" |
margin | string: standard | none | sm | md | lg | xl | "standard" |
border | string: standard | none | hairline | strong | "standard" |
radius | string: standard | none | control | surface | pill | "standard" |
textColor | string | "" |
backgroundColor | string | "" |
shadow | string: standard | none | sm | md | lg | "standard" |
width | string: standard | full | "standard" |
alignSelf | string: standard | start | center | end | "standard" |
anchor | string | "" |
source | string: items | headings | "items" |
Events & Slots
Events: navigate
Stellschrauben (Komponenten-Tokens)
| Token | Default |
|---|---|
--toc-color | var(--color-text-muted) |
Genutzte Design-Tokens
border.emphasis color.action.primary color.border.strong color.text.default color.text.link color.text.muted duration.fast easing.standard font.family.default size.2 size.3 text.sm text.xs weight.semibold