Splitter
Splitter with collapsible panels, drag handle, and smooth animations.
Installation
npx shadcn@latest add https://scrollxui.dev/registry/splitter.json
Usage
import { Splitter, SplitterPanel } from "@/components/ui/splitter";
<Splitter>
<SplitterPanel className="bg-muted/40 border-r">
</SplitterPanel>
<SplitterPanel className="bg-background flex items-center justify-center">
</SplitterPanel>
</Splitter>
API Reference
Splitter
Splitter with collapsible panels, drag handle, and smooth animations.