{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icon-volume-x",
  "title": "Volume X",
  "description": "Animated Lucide volume-x icon — the speaker draws on, then the X slashes in and the glyph shakes off the sound.",
  "dependencies": ["remotion"],
  "registryDependencies": ["@remocn/icons-core"],
  "files": [
    {
      "path": "registry/remocn-icons/icon-volume-x/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 SPEAKER_PATH =\n  \"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z\";\nconst X1_PATH = \"M22 9 16 15\";\nconst X2_PATH = \"M16 9 22 15\";\n\nconst TIMINGS = {\n  drawDurationInFrames: 14,\n  actionDelayInFrames: 2,\n  actionDurationInFrames: 22,\n  loop: false,\n} as const;\n\nexport function VolumeXIcon({\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 acting = animation !== \"draw\" && actionFrame >= 0;\n\n  const x1Progress = acting\n    ? interpolate(actionProgress, [0.09, 0.32], [0, 1], {\n        extrapolateLeft: \"clamp\",\n        extrapolateRight: \"clamp\",\n        easing: Easing.out(Easing.quad),\n      })\n    : 0;\n  const x2Progress = acting\n    ? interpolate(actionProgress, [0.23, 0.45], [0, 1], {\n        extrapolateLeft: \"clamp\",\n        extrapolateRight: \"clamp\",\n        easing: Easing.out(Easing.quad),\n      })\n    : 0;\n\n  const shake = acting\n    ? interpolate(\n        actionProgress,\n        [0.45, 0.55, 0.65, 0.75, 0.85, 1],\n        [0, 2, -1.5, 1, -0.5, 0],\n        {\n          extrapolateLeft: \"clamp\",\n          extrapolateRight: \"clamp\",\n        },\n      )\n    : 0;\n\n  const body = drawnPathProps(SPEAKER_PATH, drawProgress);\n  const x1 = drawnPathProps(X1_PATH, x1Progress);\n  const x2 = drawnPathProps(X2_PATH, x2Progress);\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: `translateX(${shake}px) scale(${scale})`,\n      }}\n    >\n      <path\n        d={SPEAKER_PATH}\n        strokeDasharray={body.strokeDasharray}\n        strokeDashoffset={body.strokeDashoffset}\n      />\n      <path\n        d={X1_PATH}\n        strokeDasharray={x1.strokeDasharray}\n        strokeDashoffset={x1.strokeDashoffset}\n      />\n      <path\n        d={X2_PATH}\n        strokeDasharray={x2.strokeDasharray}\n        strokeDashoffset={x2.strokeDashoffset}\n      />\n    </svg>\n  );\n}\n\nexport function VolumeXIconStatic({\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={SPEAKER_PATH} />\n      <line x1=\"22\" x2=\"16\" y1=\"9\" y2=\"15\" />\n      <line x1=\"16\" x2=\"22\" y1=\"9\" y2=\"15\" />\n    </svg>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/remocn/icon-volume-x.tsx"
    }
  ],
  "type": "registry:component"
}
