Resizable
Panels side by side, shared evenly at first and resized by dragging the handle between them or with its arrow keys, on react-resizable-panels.
Item 1
Item 2
Usage
Examples
Orientation
orientation="vertical" stacks the panels, the handle between them moving up and down, beside panels side by side as they are by default.
Item 1
Item 2
Item 1
Item 2
Show handle
showHandle draws a grip on the handle's line, so the place to drag reads at a glance, where by default the handle is the line alone.
Item 1
Item 2
Item 1
Item 2
Min and max size
minSize and maxSize hold a panel between two sizes however far its handle is dragged, where by default it can shrink to nothing or fill the group.
Item 1
Item 2
Collapsible
collapsible folds a panel away once it is dragged below its minSize, where by default it stops there; Enter on the handle folds and opens it too.
Item 1
Item 2
API Reference
It takes no props.