MeldUI

Resizable

Resizable panel groups with draggable handles for flexible layouts.

Usage

Vertical

Use direction="vertical" for vertically stacked panels.

Three Panels with Min Size

Panels support minSize and maxSize constraints.

Sub-components

ResizablePanelGroup

Root container that manages panel layout.

PropTypeDefaultDescription
direction*'horizontal' | 'vertical'-Layout direction of the panels.
autoSaveIdstring-Auto-save panel arrangement to localStorage with this key.
keyboardResizeBynumber-Step size in pixels/percent for arrow key resizing.

ResizablePanel

Individual resizable panel.

PropTypeDefaultDescription
defaultSizenumber-Initial panel size as a percentage.
minSizenumber-Minimum size constraint.
maxSizenumber-Maximum size constraint.
collapsibleboolean-Allow panel to collapse when resized below minSize.
collapsedSizenumber-Size when collapsed.

ResizableHandle

Draggable handle between panels.

PropTypeDefaultDescription
withHandleboolean-Show a visible grip icon on the handle.
disabledboolean-Disable drag functionality.