Home / Function/ AlertDialogOverlay() — ui Function Reference

AlertDialogOverlay() — ui Function Reference

Architecture documentation for the AlertDialogOverlay() function in alert-dialog.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  14686479_3128_9509_68da_b693c6b13fa8["AlertDialogOverlay()"]
  8a59d69c_497a_ace6_5c02_034d47d656c0["alert-dialog.tsx"]
  14686479_3128_9509_68da_b693c6b13fa8 -->|defined in| 8a59d69c_497a_ace6_5c02_034d47d656c0
  style 14686479_3128_9509_68da_b693c6b13fa8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/radix/ui-rtl/alert-dialog.tsx lines 30–44

function AlertDialogOverlay({
  className,
  ...props
}: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>) {
  return (
    <AlertDialogPrimitive.Overlay
      data-slot="alert-dialog-overlay"
      className={cn(
        "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs",
        className
      )}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

What does AlertDialogOverlay() do?
AlertDialogOverlay() is a function in the ui codebase, defined in apps/v4/examples/radix/ui-rtl/alert-dialog.tsx.
Where is AlertDialogOverlay() defined?
AlertDialogOverlay() is defined in apps/v4/examples/radix/ui-rtl/alert-dialog.tsx at line 30.

Analyze Your Own Codebase

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

Try Supermodel Free