{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "popover-align",
  "type": "registry:block",
  "description": "Alignment",
  "files": [
    {
      "path": "registry/predict/components/popover/popover-align.tsx",
      "content": "\"use client\"\n\nimport { Button } from \"@workspace/ui/components/button\"\nimport {\n  Popover,\n  PopoverContent,\n  PopoverDescription,\n  PopoverHeader,\n  PopoverTitle,\n  PopoverTrigger,\n} from \"@workspace/ui/components/popover\"\n\nconst aligns = [\"start\", \"center\", \"end\"] as const\n\nexport function PopoverAlign() {\n  return (\n    <div className=\"flex flex-wrap items-center justify-center gap-3\">\n      {aligns.map((align) => (\n        <Popover key={align}>\n          <PopoverTrigger render={<Button variant=\"outline\" className=\"capitalize\" />}>\n            {align}\n          </PopoverTrigger>\n          <PopoverContent align={align} className=\"w-56\">\n            <PopoverHeader>\n              <PopoverTitle className=\"capitalize\">{align}</PopoverTitle>\n              <PopoverDescription>Lines up with the {align} of its trigger.</PopoverDescription>\n            </PopoverHeader>\n          </PopoverContent>\n        </Popover>\n      ))}\n    </div>\n  )\n}\n",
      "type": "registry:block"
    }
  ]
}