Home / Function/ PopoverBasic() — ui Function Reference

PopoverBasic() — ui Function Reference

Architecture documentation for the PopoverBasic() function in popover-example.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  fc30db92_55f9_4ba5_6e14_7017878f4616["PopoverBasic()"]
  ba5103c9_16f7_f62b_8fc8_38f5eb05894d["popover-example.tsx"]
  fc30db92_55f9_4ba5_6e14_7017878f4616 -->|defined in| ba5103c9_16f7_f62b_8fc8_38f5eb05894d
  style fc30db92_55f9_4ba5_6e14_7017878f4616 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/examples/popover-example.tsx lines 36–54

function PopoverBasic() {
  return (
    <Example title="Basic">
      <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>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free