DrawerOverlay() — ui Function Reference
Architecture documentation for the DrawerOverlay() function in drawer.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 7f9ce3ea_fdd8_485e_96e5_d44a8c828f9e["DrawerOverlay()"] 2b724270_13cc_5d5d_74db_61f240d302ac["drawer.tsx"] 7f9ce3ea_fdd8_485e_96e5_d44a8c828f9e -->|defined in| 2b724270_13cc_5d5d_74db_61f240d302ac style 7f9ce3ea_fdd8_485e_96e5_d44a8c828f9e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/radix/ui-rtl/drawer.tsx lines 31–45
function DrawerOverlay({
className,
...props
}: React.ComponentProps<typeof DrawerPrimitive.Overlay>) {
return (
<DrawerPrimitive.Overlay
data-slot="drawer-overlay"
className={cn(
"data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 fixed inset-0 z-50 bg-black/10 supports-backdrop-filter:backdrop-blur-xs",
className
)}
{...props}
/>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does DrawerOverlay() do?
DrawerOverlay() is a function in the ui codebase, defined in apps/v4/examples/radix/ui-rtl/drawer.tsx.
Where is DrawerOverlay() defined?
DrawerOverlay() is defined in apps/v4/examples/radix/ui-rtl/drawer.tsx at line 31.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free