← All Components

Resizable

Resizable panel groups with draggable dividers. Built on react-resizable-panels.

Horizontal

Panel A
Panel B

Vertical

Top
Bottom

Three-Panel Layout

A sidebar-content-inspector layout with minimum size constraints.

Sidebar
Content
Inspector

Without Handle

The divider is still draggable but has no visible grip icon.

Main
Side

Sub-components

ComponentDescription
ResizableRoot panel group (pass direction prop here)
Resizable.PanelA single resizable panel
Resizable.HandleDraggable divider between panels

Props

PropTypeDescription
direction"horizontal" | "vertical"Layout direction of the panel group
defaultSizenumberDefault size of a panel as a percentage (0-100)
minSizenumberMinimum size of a panel as a percentage
maxSizenumberMaximum size of a panel as a percentage
withHandlebooleanShow a visible grip handle on the resize bar
classNamestringAdditional classes on the element

Usage

<Resizable direction="horizontal"> <Resizable.Panel defaultSize={50}> <div>Left panel</div> </Resizable.Panel> <Resizable.Handle withHandle /> <Resizable.Panel defaultSize={50}> <div>Right panel</div> </Resizable.Panel> </Resizable>