{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "animated-arrow",
  "title": "Animated Arrow",
  "description": "Slide an arrow across its container when its parent is hovered.",
  "dependencies": [
    "lucide-react"
  ],
  "files": [
    {
      "path": "src/registry/components/animated-arrow/animated-arrow.tsx",
      "content": "import { ArrowRight } from \"lucide-react\";\n\nimport { cn } from \"@/lib/utils\";\n\nexport type AnimatedArrowProps = {\n\tclassName?: string;\n};\n\nexport function AnimatedArrow({ className }: AnimatedArrowProps) {\n\treturn (\n\t\t<div\n\t\t\taria-hidden=\"true\"\n\t\t\tdata-slot=\"animated-arrow\"\n\t\t\tclassName={cn(\"size-6 overflow-hidden\", className)}\n\t\t>\n\t\t\t<div\n\t\t\t\tdata-slot=\"animated-arrow-track\"\n\t\t\t\tclassName=\"flex w-12 -translate-x-1/2 transition-transform duration-500 ease-in-out group-hover/animated-arrow:translate-x-0 group-focus-visible/animated-arrow:translate-x-0 motion-reduce:transform-none motion-reduce:transition-none\"\n\t\t\t>\n\t\t\t\t<span className=\"flex size-6\">\n\t\t\t\t\t<ArrowRight className=\"m-auto size-3\" />\n\t\t\t\t</span>\n\t\t\t\t<span className=\"flex size-6\">\n\t\t\t\t\t<ArrowRight className=\"m-auto size-3\" />\n\t\t\t\t</span>\n\t\t\t</div>\n\t\t</div>\n\t);\n}\n\nexport default AnimatedArrow;\n",
      "type": "registry:component",
      "target": "@components/animated-arrow.tsx"
    }
  ],
  "meta": {
    "createdAt": "2026-07-19",
    "image": "https://cdn.tentui.com/images/components/animated-arrow",
    "video": "https://cdn.tentui.com/videos/components/animated-arrow"
  },
  "docs": "https://tentui.com/components/animated-arrow",
  "categories": [],
  "type": "registry:component"
}