DrawerContent() — ui Function Reference
Architecture documentation for the DrawerContent() function in drawer.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 9fd60e8e_3e1f_e94d_dde1_b363798fb09a["DrawerContent()"] 8807fd79_3578_5d65_cae4_ea84574fa4f0["drawer.tsx"] 9fd60e8e_3e1f_e94d_dde1_b363798fb09a -->|defined in| 8807fd79_3578_5d65_cae4_ea84574fa4f0 style 9fd60e8e_3e1f_e94d_dde1_b363798fb09a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
deprecated/www/components/drawer.tsx lines 13–28
>(({ className, children, ...props }, ref) => (
<DrawerPrimitive.Portal>
<DrawerPrimitive.Overlay className="fixed inset-0 z-50 bg-black/80" />
<DrawerPrimitive.Content
ref={ref}
className={cn(
"fixed inset-x-0 bottom-0 z-50 mt-24 h-[96%] rounded-t-[10px] bg-background",
className
)}
{...props}
>
<div className="absolute left-1/2 top-3 h-2 w-[100px] translate-x-[-50%] rounded-full bg-muted" />
{children}
</DrawerPrimitive.Content>
</DrawerPrimitive.Portal>
))
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does DrawerContent() do?
DrawerContent() is a function in the ui codebase, defined in deprecated/www/components/drawer.tsx.
Where is DrawerContent() defined?
DrawerContent() is defined in deprecated/www/components/drawer.tsx at line 13.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free