AlertDialogInDialog() — ui Function Reference
Architecture documentation for the AlertDialogInDialog() function in alert-dialog-example.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD c92fda04_4522_9d4d_ebf1_3c128ac4ed77["AlertDialogInDialog()"] d0344643_7519_ec05_b167_295207d8cf8e["alert-dialog-example.tsx"] c92fda04_4522_9d4d_ebf1_3c128ac4ed77 -->|defined in| d0344643_7519_ec05_b167_295207d8cf8e style c92fda04_4522_9d4d_ebf1_3c128ac4ed77 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/radix/examples/alert-dialog-example.tsx lines 193–231
function AlertDialogInDialog() {
return (
<Example title="In Dialog" className="items-center">
<Dialog>
<DialogTrigger asChild>
<Button variant="outline">Open Dialog</Button>
</DialogTrigger>
<DialogContent>
<DialogHeader>
<DialogTitle>Alert Dialog Example</DialogTitle>
<DialogDescription>
Click the button below to open an alert dialog.
</DialogDescription>
</DialogHeader>
<DialogFooter>
<AlertDialog>
<AlertDialogTrigger asChild>
<Button>Open Alert Dialog</Button>
</AlertDialogTrigger>
<AlertDialogContent size="sm">
<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>
</DialogFooter>
</DialogContent>
</Dialog>
</Example>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does AlertDialogInDialog() do?
AlertDialogInDialog() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/examples/alert-dialog-example.tsx.
Where is AlertDialogInDialog() defined?
AlertDialogInDialog() is defined in apps/v4/registry/bases/radix/examples/alert-dialog-example.tsx at line 193.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free