{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icon-send",
  "title": "Send",
  "description": "Animated Lucide send icon — the paper plane draws on, then darts forward with a wind-up and settles back for a send-message beat.",
  "dependencies": ["remotion"],
  "registryDependencies": ["@remocn/icons-core"],
  "files": [
    {
      "path": "registry/remocn-icons/icon-send/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 PLANE_PATH =\n  \"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z\";\nconst FOLD_PATH = \"m21.854 2.147-10.94 10.939\";\n\nconst TIMINGS = {\n  drawDurationInFrames: 14,\n  actionDelayInFrames: 2,\n  actionDurationInFrames: 22,\n  loop: false,\n} as const;\n\nexport function SendIcon({\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 } = useIconAnimation(\n    { animation, loop, speed },\n    TIMINGS,\n  );\n\n  const linearDraw = 1 - (1 - drawProgress) ** (1 / 3);\n\n  const planeProgress = interpolate(linearDraw, [0, 1], [0, 1], {\n    extrapolateLeft: \"clamp\",\n    extrapolateRight: \"clamp\",\n    easing: Easing.inOut(Easing.quad),\n  });\n  const foldProgress = interpolate(linearDraw, [0.714, 1], [0, 1], {\n    extrapolateLeft: \"clamp\",\n    extrapolateRight: \"clamp\",\n    easing: Easing.out(Easing.quad),\n  });\n\n  const plane = drawnPathProps(PLANE_PATH, planeProgress);\n  const fold = drawnPathProps(FOLD_PATH, foldProgress);\n\n  const dartEase = {\n    extrapolateLeft: \"clamp\",\n    extrapolateRight: \"clamp\",\n    easing: Easing.out(Easing.quad),\n  } as const;\n  const tx = interpolate(\n    actionProgress,\n    [0, 0.18, 0.5, 1],\n    [0, -1.5, 5, 0],\n    dartEase,\n  );\n  const ty = interpolate(\n    actionProgress,\n    [0, 0.18, 0.5, 1],\n    [0, 1, -4, 0],\n    dartEase,\n  );\n  const rot = interpolate(\n    actionProgress,\n    [0, 0.18, 0.5, 1],\n    [0, 2, -12, 0],\n    dartEase,\n  );\n\n  const scale = 0.85 + 0.15 * scaleIn;\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(${tx} ${ty}) rotate(${rot} 12 12)`}>\n        <path\n          d={PLANE_PATH}\n          strokeDasharray={plane.strokeDasharray}\n          strokeDashoffset={plane.strokeDashoffset}\n        />\n        <path\n          d={FOLD_PATH}\n          strokeDasharray={fold.strokeDasharray}\n          strokeDashoffset={fold.strokeDashoffset}\n        />\n      </g>\n    </svg>\n  );\n}\n\nexport function SendIconStatic({\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={PLANE_PATH} />\n      <path d={FOLD_PATH} />\n    </svg>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/remocn/icon-send.tsx"
    }
  ],
  "type": "registry:component"
}
