Resizable

Accessible resizable panel groups and layouts with keyboard support.

dragabble
Description of the SVG image Loading...

About

The <Resizable /> component is built on top of react-resizable-panels library.

Installation

Run the following command:

npx ever-ui-clx@0.2.1 add demo-resizable

Usage

import {
  ResizableHandle,
  ResizablePanel,
  ResizablePanelGroup,
} from "@/components/ui/resizable";
<ResizablePanelGroup direction="horizontal">
  <ResizablePanel>One</ResizablePanel>
  <ResizableHandle />
  <ResizablePanel>Two</ResizablePanel>
</ResizablePanelGroup>