{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "drawer2",
  "title": "Drawer",
  "description": "A drawer is a panel that slides in from the side of the screen. Each drawer variant is interchangeable between Radix UI and Base UI projects.",
  "registryDependencies": [
    "button",
    "drawer"
  ],
  "files": [
    {
      "path": "contents/components/drawer/2/index.tsx",
      "content": "import { Button } from \"@/components/ui/button\";\nimport {\n  Drawer,\n  DrawerClose,\n  DrawerContent,\n  DrawerDescription,\n  DrawerFooter,\n  DrawerHeader,\n  DrawerTitle,\n  DrawerTrigger,\n} from \"@/components/ui/drawer\";\n\nexport default function DrawerComponent() {\n  return (\n    <Drawer direction=\"right\">\n      <DrawerTrigger asChild>\n        <Button variant=\"outline\">Scrollable Content</Button>\n      </DrawerTrigger>\n      <DrawerContent>\n        <DrawerHeader>\n          <DrawerTitle>Move Goal</DrawerTitle>\n          <DrawerDescription>Set your daily activity goal.</DrawerDescription>\n        </DrawerHeader>\n        <div className=\"no-scrollbar overflow-y-auto px-4\">\n          {Array.from({ length: 10 }).map((_, index) => (\n            <p\n              key={index}\n              className=\"style-lyra:mb-2 style-lyra:leading-relaxed mb-4 leading-normal\"\n            >\n              Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do\n              eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut\n              enim ad minim veniam, quis nostrud exercitation ullamco laboris\n              nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in\n              reprehenderit in voluptate velit esse cillum dolore eu fugiat\n              nulla pariatur. Excepteur sint occaecat cupidatat non proident,\n              sunt in culpa qui officia deserunt mollit anim id est laborum.\n            </p>\n          ))}\n        </div>\n        <DrawerFooter>\n          <Button>Submit</Button>\n          <DrawerClose asChild>\n            <Button variant=\"outline\">Cancel</Button>\n          </DrawerClose>\n        </DrawerFooter>\n      </DrawerContent>\n    </Drawer>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/drawer2.tsx"
    }
  ],
  "type": "registry:component"
}