{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "drawer-demo",
  "title": "Drawer Demo",
  "description": "Usage example for the ai2 drawer component.",
  "registryDependencies": [
    "@ai2/drawer",
    "@ai2/button"
  ],
  "files": [
    {
      "path": "registry/ai2/examples/drawer-demo.tsx",
      "content": "\"use client\"\n\nimport { Button } from \"@/registry/ai2/ui/button\"\nimport {\n  Drawer,\n  DrawerClose,\n  DrawerContent,\n  DrawerDescription,\n  DrawerFooter,\n  DrawerHeader,\n  DrawerTitle,\n  DrawerTrigger,\n} from \"@/registry/ai2/ui/drawer\"\n\nexport default function DrawerDemo() {\n  return (\n    <Drawer>\n      <DrawerTrigger asChild>\n        <Button variant=\"outline\">Open drawer</Button>\n      </DrawerTrigger>\n      <DrawerContent>\n        <div className=\"mx-auto w-full max-w-sm\">\n          <DrawerHeader>\n            <DrawerTitle>Deploy to production</DrawerTitle>\n            <DrawerDescription>\n              This promotes the current preview build to the live environment.\n            </DrawerDescription>\n          </DrawerHeader>\n          <DrawerFooter>\n            <Button tone=\"brand\">Deploy</Button>\n            <DrawerClose asChild>\n              <Button variant=\"outline\">Cancel</Button>\n            </DrawerClose>\n          </DrawerFooter>\n        </div>\n      </DrawerContent>\n    </Drawer>\n  )\n}\n",
      "type": "registry:example"
    }
  ],
  "type": "registry:example"
}