Resizable

Split-pane layout on paneforge. Drag the handle to reflow siblings; while the handle is active the cursor is trapped, pointer-events stay live, and panes rebalance in real time.

Usage

Left
Top
Bottom

Vertical

Top
Bottom

With handle pill

Pass withHandle on the resizer to show a draggable pill indicator.

Sidebar
Content

Resizable.PaneGroup props

Inherits paneforge PaneGroup props.

PropTypeDescription
'horizontal' | 'vertical'Layout axis of the group. Required.
stringOptional id for persisting pane sizes to localStorage.
numberPixel or percent step used when resizing via keyboard arrows.
stringMerged onto the group via tailwind-merge.

Resizable.Pane props

PropTypeDescription
numberInitial size as a percentage (0 – 100).
numberMinimum size in percent. The handle refuses to shrink past it.
numberMaximum size in percent.
booleanAllow the pane to collapse when dragged past the minimum.
(size: number) => voidFires as the pane resizes. Receives the new percentage.

Resizable.Handle props

PropTypeDescription
booleanRender a visible pill on the handle to suggest drag affordance.
booleanDisables the resizer interactions.