layout/@mihcm/ui·v0.21.0·stable
Resizable
Resizable panel layout with draggable dividers. Horizontal/vertical split panes for editors, dashboards, admin layouts.
Live preview
Adjust the controls on the right; the preview and code update in real time.
Panel A
Panel B
example.tsxtsx
import { ResizablePanelGroup, ResizablePanel, ResizableHandle } from '@mihcm/ui/Resizable';
export function Example() {
return (
<Resizable
direction="horizontal"
></Resizable>
);
}Install
Both paths are valid. CLI ships the source into your repo (you own it). Install pins via npm.
npx @mihcm/cli add ResizableCopies the source into
components/ds/Resizable.tsx. You own the file. Use --out to override the directory or --force to overwrite.