Skip to content

ResizableHandle

Open .md
Live preview

Loading example…

Draggable and keyboard-resizable separator between two panels.

import { ResizableHandle } from "@jcsoftdev/ui/containers";

Single-component entry points tree-shake to just this component: @jcsoftdev/ui/containers/resizable.

export const Default: Story = { render: () => <Demo direction="horizontal" /> };

Source of the Storybook story.

Prop Type Default Description
label string Accessible name; the default describes the two neighbouring panels.

* marks a required prop.

It also accepts the native props of the element or primitive it renders (for example className, id, aria-* and event handlers).

packages/ui/src/containers/resizable/resizable.tsx