DialogFooter() — ui Function Reference
Architecture documentation for the DialogFooter() function in dialog.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 3a493b9d_eadb_03a4_6da9_53ac7cff4d9e["DialogFooter()"] 227df22f_68bf_2113_9bf8_6cdcdbd26878["dialog.tsx"] 3a493b9d_eadb_03a4_6da9_53ac7cff4d9e -->|defined in| 227df22f_68bf_2113_9bf8_6cdcdbd26878 style 3a493b9d_eadb_03a4_6da9_53ac7cff4d9e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/base/ui/dialog.tsx lines 91–116
function DialogFooter({
className,
showCloseButton = false,
children,
...props
}: React.ComponentProps<"div"> & {
showCloseButton?: boolean
}) {
return (
<div
data-slot="dialog-footer"
className={cn(
"bg-muted/50 -mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t p-4 sm:flex-row sm:justify-end",
className
)}
{...props}
>
{children}
{showCloseButton && (
<DialogPrimitive.Close render={<Button variant="outline" />}>
Close
</DialogPrimitive.Close>
)}
</div>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does DialogFooter() do?
DialogFooter() is a function in the ui codebase, defined in apps/v4/examples/base/ui/dialog.tsx.
Where is DialogFooter() defined?
DialogFooter() is defined in apps/v4/examples/base/ui/dialog.tsx at line 91.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free