AlertDialogHeader() — ui Function Reference
Architecture documentation for the AlertDialogHeader() function in alert-dialog.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 132e0b78_4ea3_d827_1eef_915fc3c5a49a["AlertDialogHeader()"] 6d72b436_37b7_96be_dfc3_952e47aa0854["alert-dialog.tsx"] 132e0b78_4ea3_d827_1eef_915fc3c5a49a -->|defined in| 6d72b436_37b7_96be_dfc3_952e47aa0854 style 132e0b78_4ea3_d827_1eef_915fc3c5a49a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/radix/ui/alert-dialog.tsx lines 69–83
function AlertDialogHeader({
className,
...props
}: React.ComponentProps<"div">) {
return (
<div
data-slot="alert-dialog-header"
className={cn(
"grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]",
className
)}
{...props}
/>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does AlertDialogHeader() do?
AlertDialogHeader() is a function in the ui codebase, defined in apps/v4/examples/radix/ui/alert-dialog.tsx.
Where is AlertDialogHeader() defined?
AlertDialogHeader() is defined in apps/v4/examples/radix/ui/alert-dialog.tsx at line 69.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free