Home / Function/ AlertDialogBasic() — ui Function Reference

AlertDialogBasic() — ui Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

apps/v4/registry/bases/radix/examples/alert-dialog-example.tsx lines 42–65

function AlertDialogBasic() {
  return (
    <Example title="Basic" className="items-center">
      <AlertDialog>
        <AlertDialogTrigger asChild>
          <Button variant="outline">Default</Button>
        </AlertDialogTrigger>
        <AlertDialogContent>
          <AlertDialogHeader>
            <AlertDialogTitle>Are you absolutely sure?</AlertDialogTitle>
            <AlertDialogDescription>
              This action cannot be undone. 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 AlertDialogBasic() do?
AlertDialogBasic() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/examples/alert-dialog-example.tsx.
Where is AlertDialogBasic() defined?
AlertDialogBasic() is defined in apps/v4/registry/bases/radix/examples/alert-dialog-example.tsx at line 42.

Analyze Your Own Codebase

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

Try Supermodel Free