AlertDialogSmall() — ui Function Reference
Architecture documentation for the AlertDialogSmall() function in alert-dialog-example.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 6c9f08e8_8207_be09_bbcf_662deaea2d17["AlertDialogSmall()"] d0344643_7519_ec05_b167_295207d8cf8e["alert-dialog-example.tsx"] 6c9f08e8_8207_be09_bbcf_662deaea2d17 -->|defined in| d0344643_7519_ec05_b167_295207d8cf8e style 6c9f08e8_8207_be09_bbcf_662deaea2d17 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/radix/examples/alert-dialog-example.tsx lines 67–89
function AlertDialogSmall() {
return (
<Example title="Small" className="items-center">
<AlertDialog>
<AlertDialogTrigger asChild>
<Button variant="outline">Small</Button>
</AlertDialogTrigger>
<AlertDialogContent size="sm">
<AlertDialogHeader>
<AlertDialogTitle>Allow accessory to connect?</AlertDialogTitle>
<AlertDialogDescription>
Do you want to allow the USB accessory to connect to this device?
</AlertDialogDescription>
</AlertDialogHeader>
<AlertDialogFooter>
<AlertDialogCancel>Don't allow</AlertDialogCancel>
<AlertDialogAction>Allow</AlertDialogAction>
</AlertDialogFooter>
</AlertDialogContent>
</AlertDialog>
</Example>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does AlertDialogSmall() do?
AlertDialogSmall() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/examples/alert-dialog-example.tsx.
Where is AlertDialogSmall() defined?
AlertDialogSmall() is defined in apps/v4/registry/bases/radix/examples/alert-dialog-example.tsx at line 67.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free