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
  846e2bc1_6a60_7e6e_4134_3c374b4752f3["AlertDialogHeader()"]
  0eba9e96_12af_18e5_d900_ba808367f7a3["alert-dialog.tsx"]
  846e2bc1_6a60_7e6e_4134_3c374b4752f3 -->|defined in| 0eba9e96_12af_18e5_d900_ba808367f7a3
  style 846e2bc1_6a60_7e6e_4134_3c374b4752f3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/base/ui-rtl/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-start 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/examples/base/ui-rtl/alert-dialog.tsx.
Where is AlertDialogHeader() defined?
AlertDialogHeader() is defined in apps/v4/examples/base/ui-rtl/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