DialogFooter() — ui Function Reference
Architecture documentation for the DialogFooter() function in dialog.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 6fcb54e3_0c18_f5fe_5f50_9e5d3c09962a["DialogFooter()"] d7454325_b46e_fdeb_ce12_716580da8f77["dialog.tsx"] 6fcb54e3_0c18_f5fe_5f50_9e5d3c09962a -->|defined in| d7454325_b46e_fdeb_ce12_716580da8f77 style 6fcb54e3_0c18_f5fe_5f50_9e5d3c09962a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/base/ui-rtl/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-rtl/dialog.tsx.
Where is DialogFooter() defined?
DialogFooter() is defined in apps/v4/examples/base/ui-rtl/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