Home / Function/ AlertDialogInDialog() — ui Function Reference

AlertDialogInDialog() — ui Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

apps/v4/registry/bases/base/examples/alert-dialog-example.tsx lines 192–230

function AlertDialogInDialog() {
  return (
    <Example title="In Dialog" className="items-center">
      <Dialog>
        <DialogTrigger render={<Button variant="outline" />}>
          Open Dialog
        </DialogTrigger>
        <DialogContent>
          <DialogHeader>
            <DialogTitle>Alert Dialog Example</DialogTitle>
            <DialogDescription>
              Click the button below to open an alert dialog.
            </DialogDescription>
          </DialogHeader>
          <DialogFooter>
            <AlertDialog>
              <AlertDialogTrigger render={<Button />}>
                Open Alert Dialog
              </AlertDialogTrigger>
              <AlertDialogContent size="sm">
                <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>
          </DialogFooter>
        </DialogContent>
      </Dialog>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free