Home / Function/ AlertDialogSmall() — ui Function Reference

AlertDialogSmall() — ui Function Reference

Architecture documentation for the AlertDialogSmall() function in alert-dialog-small.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  83ac4324_e7e1_b9c0_fb94_b7865f624c60["AlertDialogSmall()"]
  7f68a3d2_37de_a347_2cb8_72ecea7ea52c["alert-dialog-small.tsx"]
  83ac4324_e7e1_b9c0_fb94_b7865f624c60 -->|defined in| 7f68a3d2_37de_a347_2cb8_72ecea7ea52c
  style 83ac4324_e7e1_b9c0_fb94_b7865f624c60 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/radix/alert-dialog-small.tsx lines 14–34

export function AlertDialogSmall() {
  return (
    <AlertDialog>
      <AlertDialogTrigger asChild>
        <Button variant="outline">Show Dialog</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&apos;t allow</AlertDialogCancel>
          <AlertDialogAction>Allow</AlertDialogAction>
        </AlertDialogFooter>
      </AlertDialogContent>
    </AlertDialog>
  )
}

Subdomains

Frequently Asked Questions

What does AlertDialogSmall() do?
AlertDialogSmall() is a function in the ui codebase, defined in apps/v4/examples/radix/alert-dialog-small.tsx.
Where is AlertDialogSmall() defined?
AlertDialogSmall() is defined in apps/v4/examples/radix/alert-dialog-small.tsx at line 14.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free