DialogFooter() — ui Function Reference
Architecture documentation for the DialogFooter() function in dialog.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 877b8330_a14b_0c4e_3074_cb8a0366fef7["DialogFooter()"] 1b381045_94e9_5d15_c902_2dacc9a931b5["dialog.tsx"] 877b8330_a14b_0c4e_3074_cb8a0366fef7 -->|defined in| 1b381045_94e9_5d15_c902_2dacc9a931b5 style 877b8330_a14b_0c4e_3074_cb8a0366fef7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/radix/ui/dialog.tsx lines 96–121
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 asChild>
<Button variant="outline">Close</Button>
</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/radix/ui/dialog.tsx.
Where is DialogFooter() defined?
DialogFooter() is defined in apps/v4/examples/radix/ui/dialog.tsx at line 96.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free