Layout

Resizable

Split an area into panels that resize with a pointer or keyboard.

Basic usage

Give Root a usable width and height. Match the IDs in panels and Panel, then drag the divider or use the arrow keys while it is focused.

Navigation

Details

API

Key props and defaults.

PropValues and behaviorDefault
Root.panels{ id, minSize?, maxSize?, collapsible? }[]—
Root.defaultSize / size(number | string)[]—
Root.orientationhorizontal, verticalhorizontal
Handle.idbeforeId:afterId—
Handle.withHandlebooleanfalse
Root.onResizeEnd(details) => void—