alert-dialog-demo.tsx — ui Source File
Architecture documentation for alert-dialog-demo.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 07469bef_a32a_d0fa_e601_8f0ecb3412bd["alert-dialog-demo.tsx"] 812b2224_b4d4_2373_c1c1_1b64b9496f1f["alert-dialog"] 07469bef_a32a_d0fa_e601_8f0ecb3412bd --> 812b2224_b4d4_2373_c1c1_1b64b9496f1f 4b1d2128_46d9_46f0_b915_b6e1925b7876["button"] 07469bef_a32a_d0fa_e601_8f0ecb3412bd --> 4b1d2128_46d9_46f0_b915_b6e1925b7876 style 07469bef_a32a_d0fa_e601_8f0ecb3412bd fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import {
AlertDialog,
AlertDialogAction,
AlertDialogCancel,
AlertDialogContent,
AlertDialogDescription,
AlertDialogFooter,
AlertDialogHeader,
AlertDialogTitle,
AlertDialogTrigger,
} from "@/examples/radix/ui/alert-dialog"
import { Button } from "@/examples/radix/ui/button"
export default function AlertDialogDemo() {
return (
<AlertDialog>
<AlertDialogTrigger asChild>
<Button variant="outline">Show Dialog</Button>
</AlertDialogTrigger>
<AlertDialogContent>
<AlertDialogHeader>
<AlertDialogTitle>Are you absolutely sure?</AlertDialogTitle>
<AlertDialogDescription>
This action cannot be undone. This will permanently delete your
account from our servers.
</AlertDialogDescription>
</AlertDialogHeader>
<AlertDialogFooter>
<AlertDialogCancel>Cancel</AlertDialogCancel>
<AlertDialogAction>Continue</AlertDialogAction>
</AlertDialogFooter>
</AlertDialogContent>
</AlertDialog>
)
}
Domain
Subdomains
Functions
Dependencies
- alert-dialog
- button
Source
Frequently Asked Questions
What does alert-dialog-demo.tsx do?
alert-dialog-demo.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 alert-dialog-demo.tsx?
alert-dialog-demo.tsx defines 1 function(s): AlertDialogDemo.
What does alert-dialog-demo.tsx depend on?
alert-dialog-demo.tsx imports 2 module(s): alert-dialog, button.
Where is alert-dialog-demo.tsx in the architecture?
alert-dialog-demo.tsx is located at apps/v4/examples/radix/alert-dialog-demo.tsx (domain: DocumentationAtlas, subdomain: SearchAPI, directory: apps/v4/examples/radix).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free