{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "animated-tooltip-shadcnui", "type": "registry:component", "title": "Animated Tooltip", "description": "Tooltip with delay and slide animation", "registryDependencies": [ "button" ], "dependencies": [ "framer-motion", "lucide-react", "react" ], "files": [ { "path": "@uitripled/react-shadcn/src/components/tooltips/animated-tooltip.tsx", "content": "\"use client\";\n\nimport { AnimatePresence, motion } from \"framer-motion\";\nimport { Info } from \"lucide-react\";\nimport { useState } from \"react\";\n\nexport function AnimatedTooltip() {\n const [isVisible, setIsVisible] = useState(false);\n\n return (\n
\n
\n setIsVisible(true)}\n onMouseLeave={() => setIsVisible(false)}\n className=\"flex items-center gap-2 rounded-lg bg-accent px-4 py-2 text-sm font-medium text-[var(--muted-foreground)]\"\n whileHover={{ scale: 1.05 }}\n whileTap={{ scale: 0.95 }}\n >\n \n Hover me\n \n\n \n {isVisible && (\n \n
\n

\n This is a helpful tooltip with smooth animation and delay.\n

\n
\n \n \n )}\n
\n
\n
\n );\n}\n", "type": "registry:component", "target": "components/uitripled/animated-tooltip-shadcnui.tsx" } ] }