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 88f91956_7faf_8a2c_e1e0_f119749e29c6["alert-dialog-demo.tsx"] 31040cdc_5c32_a7e9_da2f_306d6057362c["alert-dialog"] 88f91956_7faf_8a2c_e1e0_f119749e29c6 --> 31040cdc_5c32_a7e9_da2f_306d6057362c d418ad18_b947_f4e5_6e4c_01100d7a63e4["button"] 88f91956_7faf_8a2c_e1e0_f119749e29c6 --> d418ad18_b947_f4e5_6e4c_01100d7a63e4 style 88f91956_7faf_8a2c_e1e0_f119749e29c6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import {
AlertDialog,
AlertDialogAction,
AlertDialogCancel,
AlertDialogContent,
AlertDialogDescription,
AlertDialogFooter,
AlertDialogHeader,
AlertDialogTitle,
AlertDialogTrigger,
} from "@/registry/default/ui/alert-dialog"
import { Button } from "@/registry/default/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 and remove your data 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 ComponentRegistry domain, ChartRegistry 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 deprecated/www/registry/default/examples/alert-dialog-demo.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/default/examples).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free