Home / Function/ DialogOverlay() — ui Function Reference

DialogOverlay() — ui Function Reference

Architecture documentation for the DialogOverlay() function in dialog.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  3852e11c_3edb_9045_0050_60fa72d6cade["DialogOverlay()"]
  36891808_81b9_d07b_b985_926005ae20db["dialog.tsx"]
  3852e11c_3edb_9045_0050_60fa72d6cade -->|defined in| 36891808_81b9_d07b_b985_926005ae20db
  style 3852e11c_3edb_9045_0050_60fa72d6cade fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/registry/new-york/ui/dialog.tsx lines 20–29

>(({ className, ...props }, ref) => (
  <DialogPrimitive.Overlay
    ref={ref}
    className={cn(
      "fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
      className
    )}
    {...props}
  />
))

Subdomains

Frequently Asked Questions

What does DialogOverlay() do?
DialogOverlay() is a function in the ui codebase, defined in deprecated/www/registry/new-york/ui/dialog.tsx.
Where is DialogOverlay() defined?
DialogOverlay() is defined in deprecated/www/registry/new-york/ui/dialog.tsx at line 20.

Analyze Your Own Codebase

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

Try Supermodel Free