{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "popover",
"title": "Popover",
"description": "Floating content panel anchored to a trigger element for contextual information or controls.",
"dependencies": [
"@base-ui/react"
],
"files": [
{
"path": "packages/ui/src/popover.tsx",
"content": "\"use client\";\n\nimport { Popover as PopoverPrimitive } from \"@base-ui/react/popover\";\nimport type * as React from \"react\";\nimport { cn } from \"./utils\";\n\n// =============================================================================\n// Popover (Root)\n// =============================================================================\nfunction Popover({ ...props }: PopoverPrimitive.Root.Props) {\n return