- Components
- Layout
Resizable
react-resizable-panels (v4) with a one-pixel border handle, a wider hit area and an optional pill grip. Keyboard resize shows the focus outline on the handle.
Installation#
npx shadcn add @ortaui/resizableExamples#
Horizontal with grip#
One
Two
Vertical and nested, plain handle#
Sidebar
Header
Content
API reference#
| Prop | Type | Default | Description |
|---|---|---|---|
| orientation | "horizontal" | "vertical" | "horizontal" | On ResizablePanelGroup. |
| defaultSize / minSize / maxSize | number | string | - | On ResizablePanel. Numbers are pixels, strings are percent ("40%"). |
| withHandle | boolean | - | ResizableHandle: show a pill grip. |