AlertDialogContent() — ui Function Reference
Architecture documentation for the AlertDialogContent() function in alert-dialog.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 7fbe59e4_042f_f931_da9b_0da7bf3759c2["AlertDialogContent()"] 0a1337c9_ea81_df79_24a1_d18af363bec9["alert-dialog.tsx"] 7fbe59e4_042f_f931_da9b_0da7bf3759c2 -->|defined in| 0a1337c9_ea81_df79_24a1_d18af363bec9 style 7fbe59e4_042f_f931_da9b_0da7bf3759c2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/radix/ui/alert-dialog.tsx lines 44–65
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(
"cn-alert-dialog-content group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 outline-none",
className
)}
{...props}
/>
</AlertDialogPortal>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does AlertDialogContent() do?
AlertDialogContent() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/ui/alert-dialog.tsx.
Where is AlertDialogContent() defined?
AlertDialogContent() is defined in apps/v4/registry/bases/radix/ui/alert-dialog.tsx at line 44.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free