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
  499c39ed_1c18_1622_8efe_d0f172e89495["AlertDialogBasic()"]
  1188752c_9dd8_c062_3185_8b074926d429["alert-dialog-basic.tsx"]
  499c39ed_1c18_1622_8efe_d0f172e89495 -->|defined in| 1188752c_9dd8_c062_3185_8b074926d429
  style 499c39ed_1c18_1622_8efe_d0f172e89495 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

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

Subdomains

Frequently Asked Questions

What does AlertDialogBasic() do?
AlertDialogBasic() is a function in the ui codebase, defined in apps/v4/examples/radix/alert-dialog-basic.tsx.
Where is AlertDialogBasic() defined?
AlertDialogBasic() is defined in apps/v4/examples/radix/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