{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "rocket-icon",
  "title": "Rocket Icon",
  "description": "An animated rocket icon with launch thrust animation.",
  "dependencies": [
    "motion"
  ],
  "files": [
    {
      "path": "registry/chamaac/animated-icons/rocket-icon.tsx",
      "content": "\"use client\";\n\nimport { useState } from \"react\";\nimport { m, LazyMotion, domAnimation, SVGMotionProps } from \"motion/react\";\n\ninterface RocketIconProps\n  extends Omit<SVGMotionProps<SVGSVGElement>, \"strokeWidth\"> {\n  size?: number;\n  duration?: number;\n  strokeWidth?: number;\n  isHovered?: boolean;\n}\n\nconst RocketIcon = (props: RocketIconProps) => {\n  const {\n    size = 28,\n    duration = 2,\n    strokeWidth = 2,\n    isHovered = false,\n    className,\n    ...restProps\n  } = props;\n  const [isHoveredInternal, setIsHoveredInternal] = useState(false);\n\n  const shouldAnimate = isHovered ? isHoveredInternal : true;\n\n  const bodyAnimationProps = {\n    animate: shouldAnimate\n      ? {\n          y: [0, -2, 0],\n          x: [0, 1, 0],\n        }\n      : { y: 0, x: 0 },\n    transition: {\n      duration: duration * 0.5,\n      ease: \"easeInOut\" as const,\n      repeat: isHovered ? 0 : Infinity,\n    },\n  };\n\n  const flameAnimationProps = {\n    animate: shouldAnimate\n      ? {\n          opacity: [0.4, 1, 0.4],\n          scale: [0.8, 1.1, 0.8],\n        }\n      : { opacity: 0.4, scale: 0.8 },\n    transition: {\n      duration: duration * 0.15,\n      ease: \"easeInOut\" as const,\n      repeat: isHovered ? 0 : Infinity,\n    },\n  };\n\n  return (\n    <LazyMotion features={domAnimation}>\n      <m.svg\n        {...restProps}\n        xmlns=\"http://www.w3.org/2000/svg\"\n        width={size}\n        height={size}\n        viewBox=\"0 0 24 24\"\n        fill=\"none\"\n        stroke=\"currentColor\"\n        strokeWidth={strokeWidth}\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        className={className}\n        overflow=\"visible\"\n        onMouseEnter={() => isHovered && setIsHoveredInternal(true)}\n        onMouseLeave={() => isHovered && setIsHoveredInternal(false)}\n      >\n        <path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\" />\n        <m.g {...bodyAnimationProps}>\n          <path d=\"M4 13a8 8 0 0 1 7 7a6 6 0 0 0 3 -5a9 9 0 0 0 6 -8a3 3 0 0 0 -3 -3a9 9 0 0 0 -8 6a6 6 0 0 0 -5 3\" />\n          <path d=\"M7 14a6 6 0 0 0 -3 6a6 6 0 0 0 6 -3\" />\n          <circle cx=\"15\" cy=\"9\" r=\"1\" />\n        </m.g>\n        <m.g style={{ transformOrigin: \"7px 17px\" }} {...flameAnimationProps}>\n          <path d=\"M4.5 17l-1.5 3\" stroke=\"currentColor\" strokeWidth={1.5} />\n          <path d=\"M7 19l-1 2\" stroke=\"currentColor\" strokeWidth={1.5} />\n        </m.g>\n      </m.svg>\n    </LazyMotion>\n  );\n};\n\nexport default RocketIcon;\n",
      "type": "registry:component"
    }
  ],
  "type": "registry:component"
}