Home / Function/ DialogNoCloseButton() — ui Function Reference

DialogNoCloseButton() — ui Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  6b31d9d9_2e65_5861_5d25_92cfca8be608["DialogNoCloseButton()"]
  0ab66e57_06e5_5970_84cc_8802ab83e2ce["dialog-example.tsx"]
  6b31d9d9_2e65_5861_5d25_92cfca8be608 -->|defined in| 0ab66e57_06e5_5970_84cc_8802ab83e2ce
  style 6b31d9d9_2e65_5861_5d25_92cfca8be608 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/examples/dialog-example.tsx lines 199–223

function DialogNoCloseButton() {
  return (
    <Example title="No Close Button" className="items-center justify-center">
      <Dialog>
        <DialogTrigger asChild>
          <Button variant="outline">No Close Button</Button>
        </DialogTrigger>
        <DialogContent showCloseButton={false}>
          <DialogHeader>
            <DialogTitle>No Close Button</DialogTitle>
            <DialogDescription>
              This dialog doesn&apos;t have a close button in the top-right
              corner.
            </DialogDescription>
          </DialogHeader>
          <DialogFooter>
            <DialogClose asChild>
              <Button variant="outline">Close</Button>
            </DialogClose>
          </DialogFooter>
        </DialogContent>
      </Dialog>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free