PopoverContent() — ui Function Reference
Architecture documentation for the PopoverContent() function in popover.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD f45156e2_b314_3157_932a_5a4439375b7a["PopoverContent()"] 4c35152c_8c0f_a438_6561_b97bc2ce7e28["popover.tsx"] f45156e2_b314_3157_932a_5a4439375b7a -->|defined in| 4c35152c_8c0f_a438_6561_b97bc2ce7e28 style f45156e2_b314_3157_932a_5a4439375b7a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/radix/ui/popover.tsx lines 20–40
function PopoverContent({
className,
align = "center",
sideOffset = 4,
...props
}: React.ComponentProps<typeof PopoverPrimitive.Content>) {
return (
<PopoverPrimitive.Portal>
<PopoverPrimitive.Content
data-slot="popover-content"
align={align}
sideOffset={sideOffset}
className={cn(
"cn-popover-content z-50 w-72 origin-(--radix-popover-content-transform-origin) outline-hidden",
className
)}
{...props}
/>
</PopoverPrimitive.Portal>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does PopoverContent() do?
PopoverContent() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/ui/popover.tsx.
Where is PopoverContent() defined?
PopoverContent() is defined in apps/v4/registry/bases/radix/ui/popover.tsx at line 20.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free