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
  92db2d22_7ce7_4cab_b492_b9c74661a0c0["AlertDialogOverlay()"]
  82a77809_5b0e_7cec_acff_8e0731ac4490["alert-dialog.tsx"]
  92db2d22_7ce7_4cab_b492_b9c74661a0c0 -->|defined in| 82a77809_5b0e_7cec_acff_8e0731ac4490
  style 92db2d22_7ce7_4cab_b492_b9c74661a0c0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/ui/alert-dialog.tsx lines 31–45

function AlertDialogOverlay({
  className,
  ...props
}: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>) {
  return (
    <AlertDialogPrimitive.Overlay
      data-slot="alert-dialog-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 AlertDialogOverlay() do?
AlertDialogOverlay() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/ui/alert-dialog.tsx.
Where is AlertDialogOverlay() defined?
AlertDialogOverlay() is defined in apps/v4/registry/new-york-v4/ui/alert-dialog.tsx at line 31.

Analyze Your Own Codebase

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

Try Supermodel Free