AlertDialogHeader() — ui Function Reference
Architecture documentation for the AlertDialogHeader() function in alert-dialog.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD b60f4c91_6813_6ca6_13f7_5822e82932a6["AlertDialogHeader()"] 12f0e601_5907_1bd2_7826_2e47d8751667["alert-dialog.tsx"] b60f4c91_6813_6ca6_13f7_5822e82932a6 -->|defined in| 12f0e601_5907_1bd2_7826_2e47d8751667 style b60f4c91_6813_6ca6_13f7_5822e82932a6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/base/ui/alert-dialog.tsx lines 63–77
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/base/ui/alert-dialog.tsx.
Where is AlertDialogHeader() defined?
AlertDialogHeader() is defined in apps/v4/examples/base/ui/alert-dialog.tsx at line 63.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free