{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icon-dollar-sign",
  "title": "Dollar Sign",
  "description": "Animated Lucide dollar-sign icon — draws on, then the sign stretches tall: understated cha-ching.",
  "dependencies": ["remotion"],
  "registryDependencies": ["@remocn/icons-core"],
  "files": [
    {
      "path": "registry/remocn-icons/icon-dollar-sign/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 BAR_PATH = \"M12 2V22\";\nconst S_PATH = \"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6\";\n\nconst BASE_Y = 22;\n\nconst TIMINGS = {\n  drawDurationInFrames: 14,\n  actionDelayInFrames: 2,\n  actionDurationInFrames: 20,\n  loop: false,\n} as const;\n\nexport function DollarSignIcon({\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 barDraw = interpolate(linearDraw, [0, 0.55], [0, 1], {\n    extrapolateLeft: \"clamp\",\n    extrapolateRight: \"clamp\",\n    easing: Easing.out(Easing.quad),\n  });\n  const sDraw = interpolate(linearDraw, [0.3, 1], [0, 1], {\n    extrapolateLeft: \"clamp\",\n    extrapolateRight: \"clamp\",\n    easing: Easing.out(Easing.quad),\n  });\n\n  const stretch = acting\n    ? interpolate(actionProgress, [0.1, 0.5, 1], [1, 1.1, 1], {\n        extrapolateLeft: \"clamp\",\n        extrapolateRight: \"clamp\",\n        easing: Easing.inOut(Easing.quad),\n      })\n    : 1;\n\n  const bar = drawnPathProps(BAR_PATH, acting ? 1 : barDraw);\n  const s = drawnPathProps(S_PATH, acting ? 1 : sDraw);\n\n  const scale = 0.85 + 0.15 * scaleIn;\n  const stretchTransform = `translate(0 ${BASE_Y * (1 - stretch)}) scale(1 ${stretch})`;\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={stretchTransform}>\n        <path\n          d={BAR_PATH}\n          strokeDasharray={bar.strokeDasharray}\n          strokeDashoffset={bar.strokeDashoffset}\n        />\n        <path\n          d={S_PATH}\n          strokeDasharray={s.strokeDasharray}\n          strokeDashoffset={s.strokeDashoffset}\n        />\n      </g>\n    </svg>\n  );\n}\n\nexport function DollarSignIconStatic({\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      <line x1=\"12\" x2=\"12\" y1=\"2\" y2=\"22\" />\n      <path d={S_PATH} />\n    </svg>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/remocn/icon-dollar-sign.tsx"
    }
  ],
  "type": "registry:component"
}
