Resizable
Accessible resizable panel groups and layouts.
One
Two
// src/components/ui/resizable.tsx — two panels split by a draggable handle.
// Wire a mousedown on the handle to update both panels' flex-basis (see the slider island for the drag pattern).
Installation
$ bext ui add resizable
Copy and paste the following into src/components/ui/resizable.tsx.
// src/components/ui/resizable.tsx — two panels split by a draggable handle.
// Wire a mousedown on the handle to update both panels' flex-basis (see the slider island for the drag pattern).
On This Page