Resizable

Easily adjust panel sizes with drag or keyboard controls for a flexible, accessible layout.

react-resizable-panels

lucide-react

About

This Resizable component is powered by the react-resizable-panels library created by bvaughn.

Installation


1

Install the following dependencies:

npx shadcn@latest add https://sbthemes.com/r/resizable.json

Examples


Vertical

Handle

API Reference

Root

Root component that controls all the parts of a tabs.

PropTypeDefault
directionhorizontal, vertical-

Panel

PropTypeDefault
defaultSizenumber-
collapsedSizenumber-
collapsiblebooleanfalse

PanelResizeHandle

PropTypeDefault
disabledbooleanfalse
withHandlebooleanfalse