Invisible Docs
GalerieTokens

Fenster-Tabs — component.window-tabs

Reiter-Leiste für das Fenster-Chrome: mehrere Dokumente/Bretter in EINEM Fenster. Jeder Reiter hat Titel und optional ein Schließen-×, am Ende optional ein Plus zum Hinzufügen. Reiner Zustands-Darsteller — die Auswahl/Schließen-Logik besitzt die Fenster-Runtime (data-window-tab / -close / -add). 1.5

Componentv1.6.1Navigationdesktop.shellweb.application

Beispiele

Drei Reiter + Plus

Mit Icon, nicht schließbar

Eigenschaften

PropTypDefault
tabs *array—
addablebooleanfalse
paddingstring: standard | none | sm | md | lg | xl"standard"
marginstring: standard | none | sm | md | lg | xl"standard"
borderstring: standard | none | hairline | strong"standard"
radiusstring: standard | none | control | surface | pill"standard"
textColorstring""
backgroundColorstring""
shadowstring: standard | none | sm | md | lg"standard"
widthstring: standard | full"standard"
alignSelfstring: standard | start | center | end"standard"
anchorstring""

Stellschrauben (Komponenten-Tokens)

TokenDefault
--window-tab-surfacevar(--window-card-background, var(--color-surface-page))
--window-tab-radiusvar(--shape-card)
--window-tabs-chrome-heightcalc(var(--window-titlebar-height, var(--size-8)) + var(--size-2) + var(--border-hairline))
--window-tab-fillcolor-mix(in srgb, var(--window-tab-surface) 86%, var(--color-text-muted))

Genutzte Design-Tokens

border.emphasis border.hairline color.accent color.action.primary color.border.default color.border.subtle color.status.danger color.status.danger-surface color.surface.default color.surface.overlay color.surface.page color.surface.raised color.surface.sunken color.text.default color.text.muted container.2xs duration.fast easing.standard elevation.overlay focus.ring-color focus.ring-offset focus.ring-width font.family.default layer.max leading.base navigation.duration radius.full size.05 size.1 size.1-5 size.10 size.2 size.24 size.3 size.32 size.4 size.5 size.6 size.8 text.md text.sm weight.medium weight.semibold