{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icon-zap",
  "title": "Zap",
  "description": "Animated Lucide zap icon — the bolt draws in fast, then flashes with a double blink for speed, performance, or instant-result claims.",
  "dependencies": ["remotion"],
  "registryDependencies": ["@remocn/icons-core"],
  "files": [
    {
      "path": "registry/remocn-icons/icon-zap/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 ZAP_PATH =\n  \"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z\";\n\nconst TIMINGS = {\n  drawDurationInFrames: 10,\n  actionDelayInFrames: 2,\n  actionDurationInFrames: 14,\n  loop: false,\n} as const;\n\nexport function ZapIcon({\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 boltProgress = interpolate(linearDraw, [0, 0.8], [0, 1], {\n    extrapolateLeft: \"clamp\",\n    extrapolateRight: \"clamp\",\n    easing: Easing.out(Easing.quad),\n  });\n\n  const bolt = drawnPathProps(ZAP_PATH, boltProgress);\n\n  const flash = interpolate(\n    actionProgress,\n    [0, 0.15, 0.3, 0.45, 0.6, 1],\n    [1, 0.3, 1, 0.3, 1, 1],\n    { extrapolateLeft: \"clamp\", extrapolateRight: \"clamp\" },\n  );\n  const pop = interpolate(actionProgress, [0, 0.3, 0.6, 1], [1, 1.1, 1, 1], {\n    extrapolateLeft: \"clamp\",\n    extrapolateRight: \"clamp\",\n    easing: Easing.inOut(Easing.quad),\n  });\n  const strikeEase = {\n    extrapolateLeft: \"clamp\",\n    extrapolateRight: \"clamp\",\n    easing: Easing.out(Easing.quad),\n  } as const;\n  const strikeX = interpolate(\n    actionProgress,\n    [0, 0.15, 0.4, 1],\n    [0, 1.5, -3, 0],\n    strikeEase,\n  );\n  const strikeY = interpolate(\n    actionProgress,\n    [0, 0.15, 0.4, 1],\n    [0, -2, 4, 0],\n    strikeEase,\n  );\n  const skew = interpolate(\n    actionProgress,\n    [0, 0.15, 0.4, 0.7, 1],\n    [0, -4, 9, -2, 0],\n    strikeEase,\n  );\n  const scale = (0.85 + 0.15 * scaleIn) * pop;\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\n        opacity={flash}\n        transform={`translate(${strikeX} ${strikeY}) translate(12 12) skewX(${skew}) translate(-12 -12)`}\n      >\n        <path\n          d={ZAP_PATH}\n          strokeDasharray={bolt.strokeDasharray}\n          strokeDashoffset={bolt.strokeDashoffset}\n        />\n      </g>\n    </svg>\n  );\n}\n\nexport function ZapIconStatic({\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={ZAP_PATH} />\n    </svg>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/remocn/icon-zap.tsx"
    }
  ],
  "type": "registry:component"
}
