Skip to content

Resizable

Panels the user can resize with a drag handle or keyboard.

Installation

bun add @xerobi/ui
import { ResizableHandle, ResizablePanel, ResizablePanelGroup } from "@xerobi/ui/resizable"

This component is client-side. In Astro, hydrate it with a client directive.

API reference

ResizableHandle

PropTypeDescription
withHandleboolean

ResizablePanel

No props of its own.

ResizablePanelGroup

No props of its own.

Styling hooks: [data-slot="resizable-panel-group"], [data-slot="resizable-panel"], [data-slot="resizable-handle"].

Search documentation

Search pages, components and blocks.