Teilbare Fläche (Split-Panes) — component.resizable
Zwei Bereiche mit ziehbarem Teiler (horizontal oder vertikal) — Maus/Touch per Pointer-Capture, Tastatur mit Pfeiltasten, Grenzen über min/max 1.1: feste Texte mehrsprachig (invisible_i18n).
Componentv1.1.1Desktopweb.applicationdesktop.shell
Beispiele
Nebeneinander (Teiler ziehen oder fokussieren + Pfeiltasten)
Navigation / Baum
Inhalt — der erste Bereich startet bei 35 % (Grenzen 20–80 %).
Übereinander (vertical)
Editor
Konsole / Vorschau
Eigenschaften
| Prop | Typ | Default |
|---|---|---|
orientation | string: horizontal | vertical | "horizontal" |
initial | number | 50 |
min | number | 20 |
max | number | 80 |
height | string | "" |
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
Events: resize
Slot start: akzeptiert ui.*, component.*, layout.* · Pflicht
Slot end: akzeptiert ui.*, component.*, layout.* · Pflicht
Stellschrauben (Komponenten-Tokens)
| Token | Default |
|---|---|
--resizable-divider | var(--color-border-default) |
--resizable-divider-active | var(--color-action-primary) |
Genutzte Design-Tokens
border.emphasis border.hairline color.action.primary color.border.default color.border.subtle duration.fast easing.standard font.family.default size.3 size.8