{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "drawer", "title": "Drawer", "description": "A drawer component built on Vaul.", "dependencies": [ "vaul" ], "files": [ { "path": "registry/default/ui/drawer.tsx", "content": "'use client';\n\nimport * as React from 'react';\nimport { Drawer as DrawerPrimitive } from 'vaul';\n\nimport { cn } from '@/lib/utils';\n\nfunction Drawer({\n ...props\n}: React.ComponentProps) {\n return ;\n}\n\nfunction DrawerTrigger({\n ...props\n}: React.ComponentProps) {\n return ;\n}\n\nfunction DrawerPortal({\n ...props\n}: React.ComponentProps) {\n return ;\n}\n\nfunction DrawerClose({\n ...props\n}: React.ComponentProps) {\n return ;\n}\n\nfunction DrawerOverlay({\n className,\n ...props\n}: React.ComponentProps) {\n return (\n \n );\n}\n\nfunction DrawerContent({\n className,\n children,\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n