{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icon-settings",
  "title": "Settings",
  "description": "Animated Lucide settings icon — the gear and center draw on, then the gear turns exactly one tooth for a settings, configuration, or customization beat.",
  "dependencies": ["remotion"],
  "registryDependencies": ["@remocn/icons-core"],
  "files": [
    {
      "path": "registry/remocn-icons/icon-settings/index.tsx",
      "content": "\"use client\";\n\nimport { Easing, interpolate, spring, useVideoConfig } from \"remotion\";\nimport {\n  drawnPathProps,\n  type IconAnimationProps,\n  useIconAnimation,\n} from \"@/lib/remocn-icons\";\n\nconst GEAR_PATH =\n  \"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915\";\nconst CIRCLE_PATH =\n  \"M12 9 A3 3 0 0 1 15 12 A3 3 0 0 1 12 15 A3 3 0 0 1 9 12 A3 3 0 0 1 12 9\";\n\nconst TIMINGS = {\n  drawDurationInFrames: 16,\n  actionDelayInFrames: 2,\n  actionDurationInFrames: 26,\n  loop: false,\n} as const;\n\nexport function SettingsIcon({\n  animation = \"both\",\n  loop,\n  speed,\n  size = 48,\n  color = \"currentColor\",\n  strokeWidth = 2,\n  className,\n}: IconAnimationProps) {\n  const { drawProgress, scaleIn, actionFrame } = useIconAnimation(\n    { animation, loop, speed },\n    TIMINGS,\n  );\n  const { fps } = useVideoConfig();\n\n  const linearDraw = 1 - (1 - drawProgress) ** (1 / 3);\n\n  const gearProgress = interpolate(linearDraw, [0, 1], [0, 1], {\n    extrapolateLeft: \"clamp\",\n    extrapolateRight: \"clamp\",\n    easing: Easing.inOut(Easing.quad),\n  });\n  const circleProgress = interpolate(linearDraw, [0.625, 1], [0, 1], {\n    extrapolateLeft: \"clamp\",\n    extrapolateRight: \"clamp\",\n    easing: Easing.out(Easing.quad),\n  });\n\n  const gear = drawnPathProps(GEAR_PATH, gearProgress);\n  const circle = drawnPathProps(CIRCLE_PATH, circleProgress);\n\n  const gearRotate =\n    60 *\n    spring({\n      frame: actionFrame,\n      fps,\n      config: { damping: 14, stiffness: 120, mass: 0.9 },\n      durationInFrames: 26,\n    });\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: `scale(${scale})`,\n      }}\n    >\n      <g transform={`rotate(${gearRotate} 12 12)`}>\n        <path\n          d={GEAR_PATH}\n          strokeDasharray={gear.strokeDasharray}\n          strokeDashoffset={gear.strokeDashoffset}\n        />\n      </g>\n      <path\n        d={CIRCLE_PATH}\n        strokeDasharray={circle.strokeDasharray}\n        strokeDashoffset={circle.strokeDashoffset}\n      />\n    </svg>\n  );\n}\n\nexport function SettingsIconStatic({\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={GEAR_PATH} />\n      <circle cx=\"12\" cy=\"12\" r=\"3\" />\n    </svg>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/remocn/icon-settings.tsx"
    }
  ],
  "type": "registry:component"
}
