{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "resizable-panels-demo",
  "title": "Resizable Panels Demo",
  "description": "A worked example of Resizable Panels: Two panels and something to drag between them, where the divider is a real separator that also works from the keyboard.",
  "registryDependencies": [
    "https://ui.tinkererslabs.com/r/resizable-panels.json"
  ],
  "files": [
    {
      "path": "components/demos/resizable-panels-demo.tsx",
      "content": "\"use client\"\n\nimport { ResizablePanels } from \"@/registry/default/resizable-panels/resizable-panels\"\n\nexport function ResizablePanelsDemo() {\n  return (\n    <ResizablePanels\n      className=\"border-border h-56 w-full max-w-xl rounded-[var(--radius)] border\"\n      defaultSize={38}\n      first={\n        <nav className=\"p-4\">\n          <p className=\"text-muted-foreground text-xs font-semibold tracking-widest uppercase\">\n            Files\n          </p>\n          <ul className=\"mt-3 grid gap-2 text-sm\">\n            <li>index.tsx</li>\n            <li>styles.css</li>\n            <li>readme.md</li>\n          </ul>\n        </nav>\n      }\n      second={\n        <div className=\"p-4\">\n          <p className=\"text-sm font-semibold\">index.tsx</p>\n          <p className=\"text-muted-foreground mt-2 text-sm\">\n            Drag the divider, or put focus on it and use the arrow keys.\n          </p>\n        </div>\n      }\n    />\n  )\n}\n",
      "type": "registry:example"
    }
  ],
  "type": "registry:example"
}