App Bar — component.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
Componentv1.1.1Desktopweb.applicationdesktop.shellbuilder.preview
Beispiele
Identity left, actions right
Eigenschaften
| Prop | Typ | Default |
|---|---|---|
variant | string: default | editor | "default" |
padding | string: standard | none | sm | md | lg | xl | "standard" |
margin | string: standard | none | sm | md | lg | xl | "standard" |
border | string: standard | none | hairline | strong | "standard" |
radius | string: standard | none | control | surface | pill | "standard" |
textColor | string | "" |
backgroundColor | string | "" |
shadow | string: standard | none | sm | md | lg | "standard" |
width | string: standard | full | "standard" |
alignSelf | string: standard | start | center | end | "standard" |
anchor | string | "" |
Events & Slots
Slot start: akzeptiert ui.*, component.*, layout.*
Slot center: akzeptiert ui.*, component.*, layout.*
Slot end: akzeptiert ui.*, component.*, layout.*
Genutzte Design-Tokens
border.hairline color.border.subtle color.surface.default color.text.default font.family.default leading.tight size.10 size.2 size.3 text.md weight.semibold