Home / Function/ AlertDialogBasic() — ui Function Reference

AlertDialogBasic() — ui Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  8f6c5f07_95bf_0ca4_5e00_f2a196fdda69["AlertDialogBasic()"]
  6f56f8ae_9485_7cef_1f9d_b257fe676bf3["alert-dialog-basic.tsx"]
  8f6c5f07_95bf_0ca4_5e00_f2a196fdda69 -->|defined in| 6f56f8ae_9485_7cef_1f9d_b257fe676bf3
  style 8f6c5f07_95bf_0ca4_5e00_f2a196fdda69 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/base/alert-dialog-basic.tsx lines 14–35

export function AlertDialogBasic() {
  return (
    <AlertDialog>
      <AlertDialogTrigger
        render={<Button variant="outline">Show Dialog</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>
  )
}

Subdomains

Frequently Asked Questions

What does AlertDialogBasic() do?
AlertDialogBasic() is a function in the ui codebase, defined in apps/v4/examples/base/alert-dialog-basic.tsx.
Where is AlertDialogBasic() defined?
AlertDialogBasic() is defined in apps/v4/examples/base/alert-dialog-basic.tsx at line 14.

Analyze Your Own Codebase

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

Try Supermodel Free