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
  e14f5bbe_531f_1c75_c948_dce0e5694d91["AlertDialogContent()"]
  f108278a_1476_e57a_1621_e5c29823a627["alert-dialog.tsx"]
  e14f5bbe_531f_1c75_c948_dce0e5694d91 -->|defined in| f108278a_1476_e57a_1621_e5c29823a627
  style e14f5bbe_531f_1c75_c948_dce0e5694d91 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/registry/new-york/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/new-york/ui/alert-dialog.tsx.
Where is AlertDialogContent() defined?
AlertDialogContent() is defined in deprecated/www/registry/new-york/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