Split a region into panels with handles you drag or move with the arrow keys.
View as MarkdownInstallation
Component API
| Prop | Type | Default | Description |
|---|---|---|---|
children | ReactNode | - | |
orientation | horizontal | vertical | horizontal | Side by side, or stacked top to bottom. |
| Side by side, or stacked top to bottom. | |||
defaultSizes | number[] | - | |
minSize | number | 10 | The smallest a panel can get, in percent. |
| The smallest a panel can get, in percent. | |||
grip | boolean | true | Draws a small knob on each handle, so it reads as something to drag. |
| Draws a small knob on each handle, so it reads as something to drag. | |||
bordered | boolean | true | |
shape | none | rounded | pill | rounded | |
className | string | - | |
focus | boolean | string | true | |