Panel
A titled side panel that fills its column and scrolls on its own — the left/right pane of an editor shell (blocks, structure, properties). Optional uppercase title, optional actions in the header, content in the default slot. variant=card renders a bordered card for a stack instead (44px header with
Beispiele
- RowHorizontal row with wrap
- ColumnsTwo named columns
- GridTwelve-column grid
- RowHorizontal row with wrap
- ColumnsTwo named columns
- GridTwelve-column grid
Eigenschaften
| Prop | Typ | Default | Builder-Label |
|---|---|---|---|
| title | string | "" | Title (empty = no header) |
| variant | string: pane | card | system | "pane" | Variante (pane = fuellt die Spalte und scrollt, card = Karte im Stapel mit Rahmen und 44px-Kopfzeile) |
| 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 actions:
akzeptiert ui.*, component.*
Slot default:
akzeptiert ui.*, component.*, layout.*, section.*
Genutzte Design-Tokens
LLM-Notizen
component.panel
A titled side panel that fills its column and scrolls on its own — the left/right pane of an editor shell (blocks, structure, properties).
When to use
- A pane inside
template.editor-shell(or any resizable column) that needs a sticky header and a scrolling body. - NOT a page navigation sidebar with links → that is
component.sidebar.
Props & slots
title— optional uppercase header label; empty means no header.- slot
actions— optional header buttons (right of the title). - slot
default— the panel content (scrolls).
Layout
Height comes from the parent column (block-size: 100%); the body owns the scroll so the header stays put. All spacing/colour from tokens.
Systemglas (1.3.0, nex)
variant: 'system' = Flaeche aus dem gemeinsamen Systemglas (_shared/system-glass.css) fuer ein Programmfenster mit
Weichzeichner (NEXOS-Startmenue): Toenung, Lichtkante, Rundung wie die Fensterecken.