Docs Shell — template.docs-shell
Dokumentations-Seitengeruest: Sticky-Topbar mit Burger-Menue (mobil, natives details + Controller-Veredelung), Navigation links, Inhalt mittig, Inhaltsverzeichnis rechts (ab 1440px), Fusszeile; opt-in document-Variante mit ruhiger Artikelfläche und Inhaltsleiste ab 1200px. 1.9.4: nicht im Desktop-Bu
Beispiele
Templates liefern Slot-Regeln statt eigener Demos — siehe Events & Slots.
Eigenschaften
| Prop | Typ | Default |
|---|---|---|
brand | string | "" |
brandHref | string | "" |
variant | string: default | document | home | "default" |
rail | string: centered | full | "centered" |
contentWidth | string: standard | lg | xl | reference | "standard" |
brandIcon | string | "" |
brandImage | string | "" |
drawerCollapsible | boolean | false |
brandTagStyle | string: outline | gradient | "outline" |
brandTag | string | "" |
Events & Slots
Slot topbar: akzeptiert ui.*, layout.*, component.*
Slot actions: akzeptiert ui.*, layout.*, component.*
Slot hero: akzeptiert section.*, ui.*, layout.*
Slot sidebar: akzeptiert component.navigation, component.sidebar, ui.*, layout.* · Pflicht
Slot main: akzeptiert section.*, layout.*, component.*, ui.* · Pflicht
Slot toc: akzeptiert component.toc, ui.*
Slot footer: akzeptiert section.*, ui.*, layout.*
Stellschrauben (Komponenten-Tokens)
| Token | Default |
|---|---|
--docsshell-rail | 88rem |
--docsshell-topbar-h | 3.5rem |
--docsshell-brandtag-gradient | linear-gradient(137deg, var(--color-agentic-start, var(--color-chart-4)) 10%, var(--color-agentic-start, var(--color-chart-4)) 25%, var(--color-agentic-end, var(--color-chart-6)) 85%) |
Genutzte Design-Tokens
border.emphasis border.hairline color.accent-soft color.action.primary color.agentic.end color.agentic.start color.border.default color.border.subtle color.chart.4 color.chart.6 color.code.property color.code.surface color.code.text color.surface.backdrop color.surface.default color.surface.page color.surface.sunken color.text.default color.text.inverse color.text.link color.text.muted container.2xl container.lg container.xl duration.fast easing.standard elevation.overlay focus.ring-color focus.ring-offset focus.ring-width font.family.default font.family.mono layer.modal layer.sticky layout.container leading.base leading.loose leading.tight radius.control radius.full radius.surface size.1 size.10 size.12 size.2 size.3 size.4 size.5 size.6 size.8 size.9 text.2xl text.lg text.md text.sm text.xl text.xs weight.bold weight.medium weight.semibold