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

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/ui/drawer.tsx lines 32–46

function DrawerOverlay({
  className,
  ...props
}: React.ComponentProps<typeof DrawerPrimitive.Overlay>) {
  return (
    <DrawerPrimitive.Overlay
      data-slot="drawer-overlay"
      className={cn(
        "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
        className
      )}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

What does DrawerOverlay() do?
DrawerOverlay() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/ui/drawer.tsx.
Where is DrawerOverlay() defined?
DrawerOverlay() is defined in apps/v4/registry/new-york-v4/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