Skip to main content

Resizable Panels

Split a region into panels with handles you drag or move with the arrow keys.

View as Markdown

Installation

Component API

PropTypeDefaultDescription
childrenReactNode-
orientationhorizontal | verticalhorizontalSide by side, or stacked top to bottom.
Side by side, or stacked top to bottom.
defaultSizesnumber[]-
minSizenumber10The smallest a panel can get, in percent.
The smallest a panel can get, in percent.
gripbooleantrueDraws 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.
borderedbooleantrue
shapenone | rounded | pillrounded
classNamestring-
focusboolean | stringtrue