Home / Function/ AlertDialogSmallWithMedia() — ui Function Reference

AlertDialogSmallWithMedia() — ui Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  cf35ca3d_8a09_5206_afc2_d4572635c426["AlertDialogSmallWithMedia()"]
  d0344643_7519_ec05_b167_295207d8cf8e["alert-dialog-example.tsx"]
  cf35ca3d_8a09_5206_afc2_d4572635c426 -->|defined in| d0344643_7519_ec05_b167_295207d8cf8e
  style cf35ca3d_8a09_5206_afc2_d4572635c426 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/examples/alert-dialog-example.tsx lines 125–156

function AlertDialogSmallWithMedia() {
  return (
    <Example title="Small With Media" className="items-center">
      <AlertDialog>
        <AlertDialogTrigger asChild>
          <Button variant="outline">Small (Media)</Button>
        </AlertDialogTrigger>
        <AlertDialogContent size="sm">
          <AlertDialogHeader>
            <AlertDialogMedia>
              <IconPlaceholder
                lucide="BluetoothIcon"
                tabler="IconBluetooth"
                hugeicons="BluetoothIcon"
                phosphor="BluetoothIcon"
                remixicon="RiBluetoothLine"
              />
            </AlertDialogMedia>
            <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 AlertDialogSmallWithMedia() do?
AlertDialogSmallWithMedia() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/examples/alert-dialog-example.tsx.
Where is AlertDialogSmallWithMedia() defined?
AlertDialogSmallWithMedia() is defined in apps/v4/registry/bases/radix/examples/alert-dialog-example.tsx at line 125.

Analyze Your Own Codebase

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

Try Supermodel Free