Theme: ← Übersicht Tokens

App Bar

Thin top bar for editors and app shells: a single fixed-height row with start / center / end slots, all vertically centred, a hairline below. Holds the document identity on the left and icon actions on the right — deliberately not the tall page-header. 1.1.0 opt-in: variant editor (Mitte genau mitti

Components v1.1.1 Desktop AppDesktop component.app-bar

Beispiele

Identity left, actions right

Eigenschaften

PropTypDefaultBuilder-Label
variantstring: default | editor"default"Variante
paddingstring: standard | none | sm | md | lg | xl"standard"Innenabstand (standard = Baustein-Wert)
marginstring: standard | none | sm | md | lg | xl"standard"Aussenabstand
borderstring: standard | none | hairline | strong"standard"Rahmen
radiusstring: standard | none | control | surface | pill"standard"Ecken-Rundung
textColorstring""Textfarbe (Token; leer = Standard)
backgroundColorstring""Hintergrundfarbe (Token; leer = Standard)
shadowstring: standard | none | sm | md | lg"standard"Schatten
widthstring: standard | full"standard"Breite
alignSelfstring: standard | start | center | end"standard"Ausrichtung im Elternteil
anchorstring""Anker-ID (Sprungziel, z. B. fuer Nav-Links)

* Pflicht-Prop

Events & Slots

Slot start: akzeptiert ui.*, component.*, layout.*

Slot center: akzeptiert ui.*, component.*, layout.*

Slot end: akzeptiert ui.*, component.*, layout.*

Genutzte Design-Tokens

border.hairlinecolor.border.subtlecolor.surface.defaultcolor.text.defaultfont.family.defaultleading.tightsize.10size.2size.3text.mdweight.semibold

LLM-Notizen

component.app-bar

Thin top bar for editors and app shells: one fixed-height row (--size-10) with start / center / end slots, vertically centred, a hairline below.

When to use

  • The top strip of an editor or app-shell: document identity on the left, icon actions on the right.
  • NOT the tall marketing/section title → that is component.page-header.
  • NOT a filter/action row above a list → that is component.toolbar.

Slots

  • start — left group (identity: name, breadcrumb, mode).
  • center — optional middle group (auto-centred).
  • end — right group (actions; sticks to the right edge).

Empty slots collapse.

Tokens

Fixed height, hairline border, surface-default background — all from tokens. Arrangement + rhythm only; the content is yours.