Home / Function/ AlertDialogSmall() — ui Function Reference

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
  4f9c420d_6238_539e_0901_3022adc86433["AlertDialogSmall()"]
  f00e6683_5ad1_57ce_ba63_874d2425eaaf["alert-dialog-example.tsx"]
  4f9c420d_6238_539e_0901_3022adc86433 -->|defined in| f00e6683_5ad1_57ce_ba63_874d2425eaaf
  style 4f9c420d_6238_539e_0901_3022adc86433 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/base/examples/alert-dialog-example.tsx lines 67–87

function AlertDialogSmall() {
  return (
    <Example title="Small" className="items-center">
      <AlertDialog>
        <AlertDialogTrigger render={<Button variant="outline">Small</Button>} />
        <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>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

What does AlertDialogSmall() do?
AlertDialogSmall() is a function in the ui codebase, defined in apps/v4/registry/bases/base/examples/alert-dialog-example.tsx.
Where is AlertDialogSmall() defined?
AlertDialogSmall() is defined in apps/v4/registry/bases/base/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