| Prop | Default | Type |
|---|---|---|
as | 'div' | AsTag | ComponentThe element or component this component should render as. Can be overwritten by |
asChild | booleanChange the default rendered element for the one passed as a child, merging their props and behavior. Read our Composition guide for more details. | |
autoSaveId | null | string | nullUnique id used to auto-save group arrangement via |
direction* | 'vertical' | 'horizontal'The group orientation of splitter. | |
id | string | nullGroup id; falls back to | |
keyboardResizeBy | 10 | number | nullStep size when arrow key was pressed. |
storage | defaultStorage | PanelGroupStorageCustom storage API; defaults to localStorage |
| Emit | Payload |
|---|---|
layout | [val: number[]]Event handler called when group layout changes |
| Slots (default) | Payload |
|---|---|
layout | number[]Current size of layout |
