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
  6e988586_eef7_3ad7_bccb_ceb7cfe51328["DrawerOverlay()"]
  0b3a4d66_8f91_4b0d_4660_ad4a893ab531["drawer.tsx"]
  6e988586_eef7_3ad7_bccb_ceb7cfe51328 -->|defined in| 0b3a4d66_8f91_4b0d_4660_ad4a893ab531
  style 6e988586_eef7_3ad7_bccb_ceb7cfe51328 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/base/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/base/ui/drawer.tsx.
Where is DrawerOverlay() defined?
DrawerOverlay() is defined in apps/v4/registry/bases/base/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