Home / Function/ AlertDialogHeader() — ui Function Reference

AlertDialogHeader() — ui Function Reference

Architecture documentation for the AlertDialogHeader() function in alert-dialog.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  ced19f69_1b94_7471_9d11_962c473f5f87["AlertDialogHeader()"]
  82a77809_5b0e_7cec_acff_8e0731ac4490["alert-dialog.tsx"]
  ced19f69_1b94_7471_9d11_962c473f5f87 -->|defined in| 82a77809_5b0e_7cec_acff_8e0731ac4490
  style ced19f69_1b94_7471_9d11_962c473f5f87 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/ui/alert-dialog.tsx lines 70–84

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-6 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}
    />
  )
}

Subdomains

Frequently Asked Questions

What does AlertDialogHeader() do?
AlertDialogHeader() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/ui/alert-dialog.tsx.
Where is AlertDialogHeader() defined?
AlertDialogHeader() is defined in apps/v4/registry/new-york-v4/ui/alert-dialog.tsx at line 70.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free