Theme: ← Übersicht Tokens

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

Components v1.4.0 Desktop AppDesktop component.panel

Beispiele

Titled panel with search
Blocks
  • RowHorizontal row with wrap
  • ColumnsTwo named columns
  • GridTwelve-column grid
Header with action
Structure
  • RowHorizontal row with wrap
  • ColumnsTwo named columns
  • GridTwelve-column grid

Eigenschaften

PropTypDefaultBuilder-Label
titlestring""Title (empty = no header)
variantstring: pane | card | system"pane"Variante (pane = fuellt die Spalte und scrollt, card = Karte im Stapel mit Rahmen und 44px-Kopfzeile)
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 actions: akzeptiert ui.*, component.*

Slot default: akzeptiert ui.*, component.*, layout.*, section.*

Genutzte Design-Tokens

border.hairlinecolor.border.defaultcolor.border.subtlecolor.surface.defaultcolor.text.defaultcolor.text.mutedfont.family.defaultradius.mdradius.surfacesize.1size.10size.2size.3size.4text.mdtext.smweight.semibold

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.