Panel — 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). 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
Componentv1.4.0Desktopweb.applicationdesktop.shellbuilder.preview
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
| Prop | Typ | Default |
|---|---|---|
title | string | "" |
variant | string: pane | card | system | "pane" |
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 actions: akzeptiert ui.*, component.*
Slot default: akzeptiert ui.*, component.*, layout.*, section.* · Pflicht
Genutzte Design-Tokens
border.hairline color.border.default color.border.subtle color.surface.default color.text.default color.text.muted font.family.default radius.md radius.surface size.1 size.10 size.2 size.3 size.4 text.md text.sm weight.semibold