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
| Prop | Type | Description |
|---|---|---|
| withHandle | boolean |
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"].