{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "resizable",
  "title": "Resizable",
  "description": "Resizable panel groups with drag handles, built on react-resizable-panels.",
  "dependencies": [
    "react-resizable-panels@^4.14.1"
  ],
  "files": [
    {
      "path": "registry/rapid/ui/resizable/resizable.tsx",
      "content": "'use client'\n\nimport * as ResizablePrimitive from 'react-resizable-panels'\nimport { cn } from '@/lib/utils'\n\nfunction ResizablePanelGroup({ className, ...props }: ResizablePrimitive.GroupProps) {\n\treturn (\n\t\t<ResizablePrimitive.Group\n\t\t\tdata-slot=\"resizable-panel-group\"\n\t\t\tclassName={cn('flex h-full w-full aria-[orientation=vertical]:flex-col', className)}\n\t\t\t{...props}\n\t\t/>\n\t)\n}\n\nfunction ResizablePanel({ ...props }: ResizablePrimitive.PanelProps) {\n\treturn <ResizablePrimitive.Panel data-slot=\"resizable-panel\" {...props} />\n}\n\nfunction ResizableHandle({\n\twithHandle,\n\tclassName,\n\t...props\n}: ResizablePrimitive.SeparatorProps & {\n\twithHandle?: boolean\n}) {\n\treturn (\n\t\t<ResizablePrimitive.Separator\n\t\t\tdata-slot=\"resizable-handle\"\n\t\t\tclassName={cn(\n\t\t\t\t'relative flex w-px items-center justify-center bg-border ring-offset-background after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-hidden aria-[orientation=horizontal]:h-px aria-[orientation=horizontal]:w-full aria-[orientation=horizontal]:after:left-0 aria-[orientation=horizontal]:after:h-1 aria-[orientation=horizontal]:after:w-full aria-[orientation=horizontal]:after:translate-x-0 aria-[orientation=horizontal]:after:-translate-y-1/2 [&[aria-orientation=horizontal]>div]:rotate-90',\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t>\n\t\t\t{withHandle && <div className=\"z-10 flex h-6 w-1 shrink-0 rounded-lg bg-border\" />}\n\t\t</ResizablePrimitive.Separator>\n\t)\n}\n\nexport { ResizableHandle, ResizablePanel, ResizablePanelGroup }\n",
      "type": "registry:ui",
      "target": "components/ui/resizable.tsx"
    }
  ],
  "type": "registry:ui"
}