{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icon-wallet",
  "title": "Wallet",
  "description": "Animated Lucide wallet icon — draws on, then the wallet thickens with a quiet x-scale: money in.",
  "dependencies": ["remotion"],
  "registryDependencies": ["@remocn/icons-core"],
  "files": [
    {
      "path": "registry/remocn-icons/icon-wallet/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 FLAP_PATH =\n  \"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1\";\nconst BODY_PATH = \"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4\";\n\nconst CENTER = 12;\n\nconst TIMINGS = {\n  drawDurationInFrames: 16,\n  actionDelayInFrames: 2,\n  actionDurationInFrames: 20,\n  loop: false,\n} as const;\n\nexport function WalletIcon({\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.7], [0, 1], {\n    extrapolateLeft: \"clamp\",\n    extrapolateRight: \"clamp\",\n    easing: Easing.out(Easing.quad),\n  });\n  const flapDraw = interpolate(linearDraw, [0.5, 1], [0, 1], {\n    extrapolateLeft: \"clamp\",\n    extrapolateRight: \"clamp\",\n    easing: Easing.out(Easing.quad),\n  });\n\n  const fatten = acting\n    ? interpolate(actionProgress, [0.1, 0.5, 1], [1, 1.05, 1], {\n        extrapolateLeft: \"clamp\",\n        extrapolateRight: \"clamp\",\n        easing: Easing.inOut(Easing.quad),\n      })\n    : 1;\n\n  const flap = drawnPathProps(FLAP_PATH, acting ? 1 : flapDraw);\n  const body = drawnPathProps(BODY_PATH, acting ? 1 : bodyDraw);\n\n  const scale = 0.85 + 0.15 * scaleIn;\n  const fattenTransform = `translate(${CENTER * (1 - fatten)} 0) scale(${fatten} 1)`;\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={fattenTransform}>\n        <path\n          d={BODY_PATH}\n          strokeDasharray={body.strokeDasharray}\n          strokeDashoffset={body.strokeDashoffset}\n        />\n        <path\n          d={FLAP_PATH}\n          strokeDasharray={flap.strokeDasharray}\n          strokeDashoffset={flap.strokeDashoffset}\n        />\n      </g>\n    </svg>\n  );\n}\n\nexport function WalletIconStatic({\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={FLAP_PATH} />\n      <path d={BODY_PATH} />\n    </svg>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/remocn/icon-wallet.tsx"
    }
  ],
  "type": "registry:component"
}
