{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "popover-example",
"title": "Popover",
"registryDependencies": [
"button",
"dialog",
"field",
"input",
"popover",
"example"
],
"files": [
{
"path": "registry/radix-vega/examples/popover-example.tsx",
"content": "import {\n Example,\n ExampleWrapper,\n} from \"@/registry/radix-vega/components/example\"\nimport { Button } from \"@/registry/radix-vega/ui/button\"\nimport {\n Dialog,\n DialogContent,\n DialogDescription,\n DialogHeader,\n DialogTitle,\n DialogTrigger,\n} from \"@/registry/radix-vega/ui/dialog\"\nimport { Field, FieldGroup, FieldLabel } from \"@/registry/radix-vega/ui/field\"\nimport { Input } from \"@/registry/radix-vega/ui/input\"\nimport {\n Popover,\n PopoverContent,\n PopoverDescription,\n PopoverHeader,\n PopoverTitle,\n PopoverTrigger,\n} from \"@/registry/radix-vega/ui/popover\"\n\nexport default function PopoverExample() {\n return (\n \n \n \n \n \n \n )\n}\n\nfunction PopoverBasic() {\n return (\n \n \n \n \n \n \n \n Dimensions\n \n Set the dimensions for the layer.\n \n \n \n \n \n )\n}\n\nfunction PopoverWithForm() {\n return (\n \n \n \n \n \n \n \n Dimensions\n \n Set the dimensions for the layer.\n \n \n \n \n \n Width\n \n \n \n \n \n Height\n \n \n \n \n \n \n \n )\n}\n\nfunction PopoverAlignments() {\n return (\n \n \n
\n \n \n \n \n Aligned to start\n \n \n
\n \n \n \n \n Aligned to center\n \n \n
\n \n \n \n \n Aligned to end\n \n \n
\n \n )\n}\n\nfunction PopoverInDialog() {\n return (\n \n \n \n )\n}\n",
"type": "registry:example"
}
],
"type": "registry:example"
}