Founding price: $35, then $79.99 after 23:59 UTC on 4 November, then $79.99
Get ProResizable panels with minimum, maximum and collapsible sizes, keyboard separators that report their size, and drag that reverses in right-to-left layouts.
Derived from this item’s props table, because it declares no controls of its own. Changes drive the preview live.
import { Splitter } from "@/components/ui/splitter"<Splitter
panels={[
{
id: "files",
label: "Files",
defaultSize: 28,
min: 15,
collapsible: true,
content: <FileList />,
},
{ id: "editor", label: "Editor", content: <Editor /> },
]}
/>| Prop | Type | Default | Description |
|---|---|---|---|
panels | SplitterPanelConfig[] | - | id, content, defaultSize, min, max, collapsible, label. |
orientation | "horizontal" | "vertical" | "horizontal" | Direction of the split. |
sizes | number[] | - | Controlled sizes in percent. |
onSizesChange | (sizes: number[]) => void | - | Called on every change. |
Role: separator.