{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icon-rocket",
  "title": "Rocket",
  "description": "Animated Lucide rocket icon — draws on, then lifts off: the ship rises on a tilt while the flame re-ignites, then eases back to rest.",
  "dependencies": ["remotion"],
  "registryDependencies": ["@remocn/icons-core"],
  "files": [
    {
      "path": "registry/remocn-icons/icon-rocket/index.tsx",
      "content": "\"use client\";\n\nimport { Easing, interpolate } from \"remotion\";\nimport {\n  drawnPathProps,\n  type IconAnimationProps,\n  useIconAnimation,\n} from \"@/lib/remocn-icons\";\n\nconst BODY_PATH =\n  \"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z\";\nconst FIN_RIGHT_PATH = \"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5\";\nconst FIN_LEFT_PATH = \"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05\";\nconst FLAME_PATH =\n  \"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09\";\n\nconst TIMINGS = {\n  drawDurationInFrames: 18,\n  actionDelayInFrames: 2,\n  actionDurationInFrames: 30,\n  loop: false,\n} as const;\n\nexport function RocketIcon({\n  animation = \"both\",\n  loop,\n  speed,\n  size = 48,\n  color = \"currentColor\",\n  strokeWidth = 2,\n  className,\n}: IconAnimationProps) {\n  const { drawProgress, scaleIn, actionProgress, actionFrame } =\n    useIconAnimation({ animation, loop, speed }, TIMINGS);\n\n  const linearDraw = 1 - (1 - drawProgress) ** (1 / 3);\n  const acting = animation !== \"draw\" && actionFrame >= 0;\n\n  const bodyDraw = interpolate(linearDraw, [0, 0.67], [0, 1], {\n    extrapolateLeft: \"clamp\",\n    extrapolateRight: \"clamp\",\n    easing: Easing.out(Easing.quad),\n  });\n  const finsDraw = interpolate(linearDraw, [0.44, 0.89], [0, 1], {\n    extrapolateLeft: \"clamp\",\n    extrapolateRight: \"clamp\",\n    easing: Easing.out(Easing.quad),\n  });\n  const flameDraw = interpolate(linearDraw, [0.67, 1], [0, 1], {\n    extrapolateLeft: \"clamp\",\n    extrapolateRight: \"clamp\",\n    easing: Easing.out(Easing.quad),\n  });\n\n  const rise = acting\n    ? interpolate(actionProgress, [0, 0.45, 1], [0, -4, 0], {\n        extrapolateLeft: \"clamp\",\n        extrapolateRight: \"clamp\",\n        easing: Easing.inOut(Easing.quad),\n      })\n    : 0;\n  const tilt = acting\n    ? interpolate(actionProgress, [0, 0.45, 1], [0, -3, 0], {\n        extrapolateLeft: \"clamp\",\n        extrapolateRight: \"clamp\",\n        easing: Easing.inOut(Easing.quad),\n      })\n    : 0;\n  const flicker = acting\n    ? interpolate(\n        actionProgress,\n        [0, 0.2, 0.4, 0.6, 0.8],\n        [1, 1.2, 1, 1.18, 1],\n        {\n          extrapolateLeft: \"clamp\",\n          extrapolateRight: \"clamp\",\n          easing: Easing.inOut(Easing.quad),\n        },\n      )\n    : 1;\n\n  const body = drawnPathProps(BODY_PATH, acting ? 1 : bodyDraw);\n  const finRight = drawnPathProps(FIN_RIGHT_PATH, acting ? 1 : finsDraw);\n  const finLeft = drawnPathProps(FIN_LEFT_PATH, acting ? 1 : finsDraw);\n  const flame = drawnPathProps(FLAME_PATH, acting ? 1 : flameDraw);\n\n  const scale = 0.85 + 0.15 * scaleIn;\n  const flameTransform = `translate(${4.5 * (1 - flicker)} ${18 * (1 - flicker)}) scale(${flicker})`;\n\n  return (\n    <svg\n      className={className}\n      width={size}\n      height={size}\n      viewBox=\"0 0 24 24\"\n      fill=\"none\"\n      stroke={color}\n      strokeWidth={strokeWidth}\n      strokeLinecap=\"round\"\n      strokeLinejoin=\"round\"\n      style={{\n        overflow: \"visible\",\n        transformOrigin: \"center\",\n        transform: `scale(${scale})`,\n      }}\n    >\n      <g transform={`translate(0 ${rise}) rotate(${tilt} 8 20)`}>\n        <path\n          d={BODY_PATH}\n          strokeDasharray={body.strokeDasharray}\n          strokeDashoffset={body.strokeDashoffset}\n        />\n        <path\n          d={FIN_RIGHT_PATH}\n          strokeDasharray={finRight.strokeDasharray}\n          strokeDashoffset={finRight.strokeDashoffset}\n        />\n        <path\n          d={FIN_LEFT_PATH}\n          strokeDasharray={finLeft.strokeDasharray}\n          strokeDashoffset={finLeft.strokeDashoffset}\n        />\n        <g transform={flameTransform}>\n          <path\n            d={FLAME_PATH}\n            strokeDasharray={flame.strokeDasharray}\n            strokeDashoffset={flame.strokeDashoffset}\n          />\n        </g>\n      </g>\n    </svg>\n  );\n}\n\nexport function RocketIconStatic({\n  size = 48,\n  color = \"currentColor\",\n  strokeWidth = 2,\n  className,\n}: {\n  size?: number;\n  color?: string;\n  strokeWidth?: number;\n  className?: string;\n}) {\n  return (\n    <svg\n      className={className}\n      width={size}\n      height={size}\n      viewBox=\"0 0 24 24\"\n      fill=\"none\"\n      stroke={color}\n      strokeWidth={strokeWidth}\n      strokeLinecap=\"round\"\n      strokeLinejoin=\"round\"\n    >\n      <path d=\"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5\" />\n      <path d=\"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09\" />\n      <path d=\"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z\" />\n      <path d=\"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05\" />\n    </svg>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/remocn/icon-rocket.tsx"
    }
  ],
  "type": "registry:component"
}
