Resizable

Panels that can be resized by dragging or with the keyboard.

components/ui/resizable.tsx
Sidebar
Content

Installation

npx betterone-ds add resizable

Props

ComponentPropTypeDefault
ResizablePanelGrouporientation"horizontal" | "vertical""horizontal"

Accessibility

  • The handle is focusable. Arrow keys resize, Home/End jump to the limits.
  • Set a minimum size so content never becomes unreadable.