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
Beispiele
Eigenschaften
| Prop | Typ | Default | Builder-Label |
|---|---|---|---|
| variant | string: default | editor | "default" | Variante |
| padding | string: standard | none | sm | md | lg | xl | "standard" | Innenabstand (standard = Baustein-Wert) |
| margin | string: standard | none | sm | md | lg | xl | "standard" | Aussenabstand |
| border | string: standard | none | hairline | strong | "standard" | Rahmen |
| radius | string: standard | none | control | surface | pill | "standard" | Ecken-Rundung |
| textColor | string | "" | Textfarbe (Token; leer = Standard) |
| backgroundColor | string | "" | Hintergrundfarbe (Token; leer = Standard) |
| shadow | string: standard | none | sm | md | lg | "standard" | Schatten |
| width | string: standard | full | "standard" | Breite |
| alignSelf | string: standard | start | center | end | "standard" | Ausrichtung im Elternteil |
| anchor | string | "" | 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
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.