Home / Function/ DrawerOverlay() — ui Function Reference

DrawerOverlay() — ui Function Reference

Architecture documentation for the DrawerOverlay() function in drawer.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  518f5633_90a6_85f0_e58d_46f466e7f59b["DrawerOverlay()"]
  8b9e9a98_d277_e3c5_72b5_2befe045f342["drawer.tsx"]
  518f5633_90a6_85f0_e58d_46f466e7f59b -->|defined in| 8b9e9a98_d277_e3c5_72b5_2befe045f342
  style 518f5633_90a6_85f0_e58d_46f466e7f59b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/ui/drawer.tsx lines 32–43

function DrawerOverlay({
  className,
  ...props
}: React.ComponentProps<typeof DrawerPrimitive.Overlay>) {
  return (
    <DrawerPrimitive.Overlay
      data-slot="drawer-overlay"
      className={cn("cn-drawer-overlay fixed inset-0 z-50", className)}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

What does DrawerOverlay() do?
DrawerOverlay() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/ui/drawer.tsx.
Where is DrawerOverlay() defined?
DrawerOverlay() is defined in apps/v4/registry/bases/radix/ui/drawer.tsx at line 32.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free