dialog.tsx — ui Source File
Architecture documentation for dialog.tsx, a tsx file in the ui codebase. 5 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR cc7183e6_897f_99e2_27d9_e32a77989fc2["dialog.tsx"] 1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"] cc7183e6_897f_99e2_27d9_e32a77989fc2 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2 191e4a89_25e4_f7a3_d5fb_d71d101e0990["utils"] cc7183e6_897f_99e2_27d9_e32a77989fc2 --> 191e4a89_25e4_f7a3_d5fb_d71d101e0990 c79cdc74_50fb_62bd_465f_35936d2c5eac["button"] cc7183e6_897f_99e2_27d9_e32a77989fc2 --> c79cdc74_50fb_62bd_465f_35936d2c5eac d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"] cc7183e6_897f_99e2_27d9_e32a77989fc2 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3 9c463da6_747b_38dc_586b_cbb4873070b1["radix-ui"] cc7183e6_897f_99e2_27d9_e32a77989fc2 --> 9c463da6_747b_38dc_586b_cbb4873070b1 style cc7183e6_897f_99e2_27d9_e32a77989fc2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"use client"
import * as React from "react"
import { cn } from "@/examples/radix/lib/utils"
import { Button } from "@/examples/radix/ui-rtl/button"
import { XIcon } from "lucide-react"
import { Dialog as DialogPrimitive } from "radix-ui"
function Dialog({
...props
}: React.ComponentProps<typeof DialogPrimitive.Root>) {
return <DialogPrimitive.Root data-slot="dialog" {...props} />
}
function DialogTrigger({
...props
}: React.ComponentProps<typeof DialogPrimitive.Trigger>) {
return <DialogPrimitive.Trigger data-slot="dialog-trigger" {...props} />
}
function DialogPortal({
...props
}: React.ComponentProps<typeof DialogPrimitive.Portal>) {
return <DialogPrimitive.Portal data-slot="dialog-portal" {...props} />
}
function DialogClose({
...props
}: React.ComponentProps<typeof DialogPrimitive.Close>) {
return <DialogPrimitive.Close data-slot="dialog-close" {...props} />
}
function DialogOverlay({
className,
...props
}: React.ComponentProps<typeof DialogPrimitive.Overlay>) {
return (
<DialogPrimitive.Overlay
data-slot="dialog-overlay"
className={cn(
"data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs",
className
)}
{...props}
/>
)
}
function DialogContent({
className,
children,
showCloseButton = true,
...props
}: React.ComponentProps<typeof DialogPrimitive.Content> & {
showCloseButton?: boolean
}) {
return (
<DialogPortal>
<DialogOverlay />
<DialogPrimitive.Content
// ... (104 more lines)
Domain
Subdomains
Functions
Dependencies
- button
- lucide-react
- radix-ui
- react
- utils
Source
Frequently Asked Questions
What does dialog.tsx do?
dialog.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, SearchAPI subdomain.
What functions are defined in dialog.tsx?
dialog.tsx defines 10 function(s): Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger.
What does dialog.tsx depend on?
dialog.tsx imports 5 module(s): button, lucide-react, radix-ui, react, utils.
Where is dialog.tsx in the architecture?
dialog.tsx is located at apps/v4/examples/radix/ui-rtl/dialog.tsx (domain: DocumentationAtlas, subdomain: SearchAPI, directory: apps/v4/examples/radix/ui-rtl).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free