AlertDialogContent() — ui Function Reference
Architecture documentation for the AlertDialogContent() function in alert-dialog.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD dfc8759e_2513_3f16_3012_1b42fb5b10d4["AlertDialogContent()"] 12f0e601_5907_1bd2_7826_2e47d8751667["alert-dialog.tsx"] dfc8759e_2513_3f16_3012_1b42fb5b10d4 -->|defined in| 12f0e601_5907_1bd2_7826_2e47d8751667 style dfc8759e_2513_3f16_3012_1b42fb5b10d4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/base/ui/alert-dialog.tsx lines 40–61
function AlertDialogContent({
className,
size = "default",
...props
}: AlertDialogPrimitive.Popup.Props & {
size?: "default" | "sm"
}) {
return (
<AlertDialogPortal>
<AlertDialogOverlay />
<AlertDialogPrimitive.Popup
data-slot="alert-dialog-content"
data-size={size}
className={cn(
"data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 bg-background ring-foreground/10 group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl p-4 ring-1 duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm",
className
)}
{...props}
/>
</AlertDialogPortal>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does AlertDialogContent() do?
AlertDialogContent() is a function in the ui codebase, defined in apps/v4/examples/base/ui/alert-dialog.tsx.
Where is AlertDialogContent() defined?
AlertDialogContent() is defined in apps/v4/examples/base/ui/alert-dialog.tsx at line 40.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free