Home / Function/ AlertDialogWithMedia() — ui Function Reference

AlertDialogWithMedia() — ui Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

apps/v4/registry/bases/base/examples/alert-dialog-example.tsx lines 89–121

function AlertDialogWithMedia() {
  return (
    <Example title="With Media" className="items-center">
      <AlertDialog>
        <AlertDialogTrigger
          render={<Button variant="outline">Default (Media)</Button>}
        />
        <AlertDialogContent>
          <AlertDialogHeader>
            <AlertDialogMedia>
              <IconPlaceholder
                lucide="BluetoothIcon"
                tabler="IconBluetooth"
                hugeicons="BluetoothIcon"
                phosphor="BluetoothIcon"
                remixicon="RiBluetoothLine"
              />
            </AlertDialogMedia>
            <AlertDialogTitle>Are you absolutely sure?</AlertDialogTitle>
            <AlertDialogDescription>
              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>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

What does AlertDialogWithMedia() do?
AlertDialogWithMedia() is a function in the ui codebase, defined in apps/v4/registry/bases/base/examples/alert-dialog-example.tsx.
Where is AlertDialogWithMedia() defined?
AlertDialogWithMedia() is defined in apps/v4/registry/bases/base/examples/alert-dialog-example.tsx at line 89.

Analyze Your Own Codebase

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

Try Supermodel Free