Home / File/ popover-basic.tsx — ui Source File

popover-basic.tsx — ui Source File

Architecture documentation for popover-basic.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.

File tsx DocumentationAtlas ContentSourcing 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  13a21e68_e9e8_246d_a326_05c20af4f0ba["popover-basic.tsx"]
  4544fa74_9b37_0912_c55e_f4ff161b8e83["button"]
  13a21e68_e9e8_246d_a326_05c20af4f0ba --> 4544fa74_9b37_0912_c55e_f4ff161b8e83
  a3e47561_21be_d5cd_a896_ddf369cf7b61["popover"]
  13a21e68_e9e8_246d_a326_05c20af4f0ba --> a3e47561_21be_d5cd_a896_ddf369cf7b61
  style 13a21e68_e9e8_246d_a326_05c20af4f0ba fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Button } from "@/examples/base/ui/button"
import {
  Popover,
  PopoverContent,
  PopoverDescription,
  PopoverHeader,
  PopoverTitle,
  PopoverTrigger,
} from "@/examples/base/ui/popover"

export function PopoverBasic() {
  return (
    <>
      <Popover>
        <PopoverTrigger render={<Button variant="outline" className="w-fit" />}>
          Open Popover
        </PopoverTrigger>
        <PopoverContent align="start">
          <PopoverHeader>
            <PopoverTitle>Dimensions</PopoverTitle>
            <PopoverDescription>
              Set the dimensions for the layer.
            </PopoverDescription>
          </PopoverHeader>
        </PopoverContent>
      </Popover>
    </>
  )
}

Subdomains

Functions

Dependencies

  • button
  • popover

Frequently Asked Questions

What does popover-basic.tsx do?
popover-basic.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, ContentSourcing subdomain.
What functions are defined in popover-basic.tsx?
popover-basic.tsx defines 1 function(s): PopoverBasic.
What does popover-basic.tsx depend on?
popover-basic.tsx imports 2 module(s): button, popover.
Where is popover-basic.tsx in the architecture?
popover-basic.tsx is located at apps/v4/examples/base/popover-basic.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, directory: apps/v4/examples/base).

Analyze Your Own Codebase

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

Try Supermodel Free