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
  ea685dad_8407_f6a0_bb07_e4198648f712["popover-basic.tsx"]
  4b1d2128_46d9_46f0_b915_b6e1925b7876["button"]
  ea685dad_8407_f6a0_bb07_e4198648f712 --> 4b1d2128_46d9_46f0_b915_b6e1925b7876
  97b1d83c_62f2_f7a6_4edb_030a627d9a9d["popover"]
  ea685dad_8407_f6a0_bb07_e4198648f712 --> 97b1d83c_62f2_f7a6_4edb_030a627d9a9d
  style ea685dad_8407_f6a0_bb07_e4198648f712 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

export function PopoverBasic() {
  return (
    <Popover>
      <PopoverTrigger asChild>
        <Button variant="outline">Open Popover</Button>
      </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/radix/popover-basic.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, directory: apps/v4/examples/radix).

Analyze Your Own Codebase

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

Try Supermodel Free