AlertDialogContent() — ui Function Reference
Architecture documentation for the AlertDialogContent() function in alert-dialog.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD fe7ad1cf_f03c_9a95_5013_12a0841b7e0e["AlertDialogContent()"] 6d72b436_37b7_96be_dfc3_952e47aa0854["alert-dialog.tsx"] fe7ad1cf_f03c_9a95_5013_12a0841b7e0e -->|defined in| 6d72b436_37b7_96be_dfc3_952e47aa0854 style fe7ad1cf_f03c_9a95_5013_12a0841b7e0e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/radix/ui/alert-dialog.tsx lines 46–67
function AlertDialogContent({
className,
size = "default",
...props
}: React.ComponentProps<typeof AlertDialogPrimitive.Content> & {
size?: "default" | "sm"
}) {
return (
<AlertDialogPortal>
<AlertDialogOverlay />
<AlertDialogPrimitive.Content
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/radix/ui/alert-dialog.tsx.
Where is AlertDialogContent() defined?
AlertDialogContent() is defined in apps/v4/examples/radix/ui/alert-dialog.tsx at line 46.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free