Resizable
Accessible resizable panel groups and layouts with keyboard support.
One
Two
Three
About
The Resizable component is built on top of react-resizable-panels by bvaughn.
Installation
Usage
<Resizable orientation=Horizontal>
<Resizable.Panel> {"One"->React.string} </Resizable.Panel>
<Resizable.Handle />
<Resizable.Panel> {"Two"->React.string} </Resizable.Panel>
</Resizable>Examples
Vertical
Use orientation="vertical" for vertical resizing.
Header
Content
Handle
Use the withHandle prop on ResizableHandle to show a visible handle.
Sidebar
Content
API Reference
See the react-resizable-panels documentation.