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 5e71c565_2c8d_b6dd_0d7a_bf883c1ebf4d["alert-dialog-demo.tsx"] 22caac49_069c_c355_0aca_120ba055a229["alert-dialog"] 5e71c565_2c8d_b6dd_0d7a_bf883c1ebf4d --> 22caac49_069c_c355_0aca_120ba055a229 57e86e45_ac6e_7278_be08_9092724e8401["button"] 5e71c565_2c8d_b6dd_0d7a_bf883c1ebf4d --> 57e86e45_ac6e_7278_be08_9092724e8401 style 5e71c565_2c8d_b6dd_0d7a_bf883c1ebf4d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import {
AlertDialog,
AlertDialogAction,
AlertDialogCancel,
AlertDialogContent,
AlertDialogDescription,
AlertDialogFooter,
AlertDialogHeader,
AlertDialogTitle,
AlertDialogTrigger,
} from "@/registry/new-york-v4/ui/alert-dialog"
import { Button } from "@/registry/new-york-v4/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 apps/v4/registry/new-york-v4/examples/alert-dialog-demo.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/new-york-v4/examples).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free