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

Relationship Graph

Source Code

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

function AlertDialogBasic() {
  return (
    <Example title="Basic" className="items-center">
      <AlertDialog>
        <AlertDialogTrigger
          render={<Button variant="outline">Default</Button>}
        />
        <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/base/examples/alert-dialog-example.tsx.
Where is AlertDialogBasic() defined?
AlertDialogBasic() is defined in apps/v4/registry/bases/base/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