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
  9d4ac0c1_d10b_882f_b299_b01175c0139a["DialogOverlay()"]
  355f8b9e_591b_d239_ab18_5eaebeaee3b6["dialog.tsx"]
  9d4ac0c1_d10b_882f_b299_b01175c0139a -->|defined in| 355f8b9e_591b_d239_ab18_5eaebeaee3b6
  style 9d4ac0c1_d10b_882f_b299_b01175c0139a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/registry/default/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/default/ui/dialog.tsx.
Where is DialogOverlay() defined?
DialogOverlay() is defined in deprecated/www/registry/default/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