Home / Function/ AlertDialogContent() — ui Function Reference

AlertDialogContent() — ui Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  bc3d9ea0_6a2c_5b7f_5cf5_71f9e11f065b["AlertDialogContent()"]
  541a782c_f50a_7bde_a277_4aeecd1ab29b["alert-dialog.tsx"]
  bc3d9ea0_6a2c_5b7f_5cf5_71f9e11f065b -->|defined in| 541a782c_f50a_7bde_a277_4aeecd1ab29b
  style bc3d9ea0_6a2c_5b7f_5cf5_71f9e11f065b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/registry/default/ui/alert-dialog.tsx lines 33–45

>(({ className, ...props }, ref) => (
  <AlertDialogPortal>
    <AlertDialogOverlay />
    <AlertDialogPrimitive.Content
      ref={ref}
      className={cn(
        "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
        className
      )}
      {...props}
    />
  </AlertDialogPortal>
))

Subdomains

Frequently Asked Questions

What does AlertDialogContent() do?
AlertDialogContent() is a function in the ui codebase, defined in deprecated/www/registry/default/ui/alert-dialog.tsx.
Where is AlertDialogContent() defined?
AlertDialogContent() is defined in deprecated/www/registry/default/ui/alert-dialog.tsx at line 33.

Analyze Your Own Codebase

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

Try Supermodel Free