{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icon-play",
  "title": "Play",
  "description": "Animated Lucide play icon — the triangle draws on, then presses in and springs forward like a play button being hit.",
  "dependencies": ["remotion"],
  "registryDependencies": ["@remocn/icons-core"],
  "files": [
    {
      "path": "registry/remocn-icons/icon-play/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 PLAY_PATH =\n  \"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z\";\n\nconst TIMINGS = {\n  drawDurationInFrames: 14,\n  actionDelayInFrames: 2,\n  actionDurationInFrames: 18,\n  loop: false,\n} as const;\n\nexport function PlayIcon({\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 dash = drawnPathProps(PLAY_PATH, drawProgress);\n  const press = interpolate(\n    actionProgress,\n    [0, 0.33, 0.66, 1],\n    [1, 0.92, 1.1, 1],\n    {\n      extrapolateLeft: \"clamp\",\n      extrapolateRight: \"clamp\",\n      easing: Easing.inOut(Easing.quad),\n    },\n  );\n  const nudge = interpolate(actionProgress, [0.33, 0.66, 1], [0, 1.5, 0], {\n    extrapolateLeft: \"clamp\",\n    extrapolateRight: \"clamp\",\n    easing: Easing.out(Easing.quad),\n  });\n  const scale = (0.85 + 0.15 * scaleIn) * press;\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: `translateX(${nudge}px) scale(${scale})`,\n      }}\n    >\n      <path\n        d={PLAY_PATH}\n        strokeDasharray={dash.strokeDasharray}\n        strokeDashoffset={dash.strokeDashoffset}\n      />\n    </svg>\n  );\n}\n\nexport function PlayIconStatic({\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={PLAY_PATH} />\n    </svg>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/remocn/icon-play.tsx"
    }
  ],
  "type": "registry:component"
}
