Invisible Docs
GalerieTokens

Tab-Leiste (Pills) — component.tab-bar

Segmentierte Pill-Tab-Leiste (Atlassian-Collections-Muster): Leiste auf sunken-Fläche, aktiver Tab als Secondary-Pill — progressive Links, optional zentriert. 1.1.0 (opt-in): Icon und Zaehler je Reiter, variant underline (Ansichts-Reiter mit Unterstrich), Hinzufuegen-Reiter (addLabel + addHref). 1.6

Componentv1.8.1Navigationweb.documentweb.applicationdesktop.shellbuilder.preview

Beispiele

Segmentierte Pill-Tabs, aktiver Tab als Secondary-Pill

Ansichts-Reiter mit Unterstrich, Icons, Zaehler und Hinzufuegen (1.1.0)

1.7: Kontextspalte – kleine Reiter mit Symbolen (size sm, ghost), Umbruch statt Rollen (overflow wrap)

Eigenschaften

PropTypDefault
touchbooleanfalse
items *array—
centeredbooleantrue
variantstring: pill | underline | ghost"pill"
sizestring: md | sm"md"
overflowstring: scroll | wrap"scroll"
addLabelstring""
addHrefstring""
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""

Events & Slots

Events: change

Slot actions: akzeptiert ui.*, component.*

Stellschrauben (Komponenten-Tokens)

TokenDefault
--tab-bar-action-on-secondaryvar(--color-action-on-secondary)
--tab-bar-action-secondaryvar(--color-action-secondary)
--tab-bar-focus-ring-colorvar(--focus-ring-color)
--tab-bar-focus-ring-offsetvar(--focus-ring-offset)
--tab-bar-focus-ring-widthvar(--focus-ring-width)
--tab-bar-radius-fullvar(--radius-full)
--tab-bar-surface-sunkenvar(--color-surface-sunken)
--tab-bar-text-defaultvar(--color-text-default)

Genutzte Design-Tokens

border.emphasis border.hairline color.action.on-secondary color.action.primary color.action.secondary color.border.default color.border.strong color.chart.1 color.chart.2 color.chart.3 color.chart.4 color.chart.5 color.chart.6 color.chart.7 color.chart.8 color.surface.default color.surface.sunken color.text.accent color.text.default color.text.muted control.height duration.fast easing.standard elevation.control focus.ring-color focus.ring-offset focus.ring-width font.family.default leading.tight radius.full size.05 size.1 size.1-5 size.10 size.2 size.3 size.4 size.5 size.6 size.8 tag.amber.tone tag.blue.tone tag.gray.tone tag.green.tone tag.orange.tone tag.pink.tone tag.red.tone tag.teal.tone tag.violet.tone text.2xs text.sm weight.medium weight.regular