{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "tooltip2",
  "title": "Tooltip",
  "description": "A tooltip is a small overlay that appears when the user hovers over an element. Each tooltip variant is drop-in compatible with Radix UI and Base UI.",
  "registryDependencies": [
    "button",
    "tooltip"
  ],
  "files": [
    {
      "path": "contents/components/tooltip/2/index.tsx",
      "content": "import { Button } from \"@/components/ui/button\";\nimport { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from \"@/components/ui/tooltip\";\n\nexport default function Component() {\n  return (\n    <TooltipProvider>\n      <Tooltip>\n        <TooltipTrigger asChild>\n          <Button variant=\"outline\">With title</Button>\n        </TooltipTrigger>\n        <TooltipContent className=\"max-w-sm py-3\">\n          <div className=\"space-y-1\">\n            <p className=\"text-sm font-medium\">Tooltip with title</p>\n            <p className=\"text-muted-foreground text-xs\">\n              Tooltips are made to be highly customizable, with features like dynamic placement,\n              rich content, and a robust API. You can even use them as a full-featured dropdown menu\n              by setting the <code>trigger</code> prop to <code>click</code>.\n            </p>\n          </div>\n        </TooltipContent>\n      </Tooltip>\n    </TooltipProvider>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/tooltip2.tsx"
    }
  ],
  "type": "registry:component"
}