DrawerContent() — ui Function Reference
Architecture documentation for the DrawerContent() function in drawer.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD a3de5ec0_cab2_d8bb_0f12_62a11d87aabc["DrawerContent()"] 89f8a1b7_9086_0cec_0b65_a439969c8242["drawer.tsx"] a3de5ec0_cab2_d8bb_0f12_62a11d87aabc -->|defined in| 89f8a1b7_9086_0cec_0b65_a439969c8242 style a3de5ec0_cab2_d8bb_0f12_62a11d87aabc fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
deprecated/www/registry/default/ui/drawer.tsx lines 40–55
>(({ className, children, ...props }, ref) => (
<DrawerPortal>
<DrawerOverlay />
<DrawerPrimitive.Content
ref={ref}
className={cn(
"fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",
className
)}
{...props}
>
<div className="mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" />
{children}
</DrawerPrimitive.Content>
</DrawerPortal>
))
Domain
Subdomains
Source
Frequently Asked Questions
What does DrawerContent() do?
DrawerContent() is a function in the ui codebase, defined in deprecated/www/registry/default/ui/drawer.tsx.
Where is DrawerContent() defined?
DrawerContent() is defined in deprecated/www/registry/default/ui/drawer.tsx at line 40.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free