{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "resizable",
"title": "Resizable",
"description": "Terminal-style resizable panels built on react-resizable-panels: subtle divider lines, keyboard focus ring, optional ASCII grip handle. No hover/radius/shadow.",
"dependencies": [
"react-resizable-panels"
],
"registryDependencies": [
"utils",
"theme-catppuccin-mocha",
"font-jetbrains-mono"
],
"files": [
{
"path": "registry/ui/resizable.tsx",
"content": "import * as ResizablePrimitive from \"react-resizable-panels\";\nimport { cn } from \"@/lib/utils\";\n\nfunction ResizablePanelGroup({\n\tclassName,\n\t...props\n}: ResizablePrimitive.GroupProps) {\n\treturn (\n\t\t\n\t);\n}\n\nfunction ResizablePanel({ ...props }: ResizablePrimitive.PanelProps) {\n\treturn ;\n}\n\nfunction ResizableHandle({\n\twithHandle,\n\tclassName,\n\t...props\n}: ResizablePrimitive.SeparatorProps & {\n\twithHandle?: boolean;\n}) {\n\treturn (\n\t\tspan]:rotate-90\",\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t>\n\t\t\t{withHandle ? (\n\t\t\t\t\n\t\t\t\t\t:::\n\t\t\t\t\n\t\t\t) : null}\n\t\t\n\t);\n}\n\nexport { ResizablePanelGroup, ResizablePanel, ResizableHandle };\n",
"type": "registry:ui"
}
],
"type": "registry:ui"
}