{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "adjustments-icon",
  "title": "Adjustments Icon",
  "description": "An animated adjustments/settings icon with smooth motion effects.",
  "dependencies": [
    "motion"
  ],
  "files": [
    {
      "path": "registry/chamaac/animated-icons/adjustments-icon.tsx",
      "content": "\"use client\";\n\nimport { useState } from \"react\";\nimport { m, LazyMotion, domAnimation, SVGMotionProps } from \"motion/react\";\n\ninterface AdjustmentsHorizontalIconProps extends SVGMotionProps<SVGSVGElement> {\n  size?: number;\n  duration?: number;\n  strokeWidth?: number;\n  isHovered?: boolean;\n}\n\nconst AdjustmentsHorizontalIcon = (props: AdjustmentsHorizontalIconProps) => {\n  const {\n    size = 28,\n    duration = 1.2,\n    strokeWidth = 2,\n    isHovered = false,\n    className,\n    ...restProps\n  } = props;\n  const [isHoveredInternal, setIsHoveredInternal] = useState(false);\n\n  const shouldAnimate = isHovered ? isHoveredInternal : true;\n\n  const path1Props = {\n    animate: shouldAnimate ? { x: [0, -10, 0] } : { x: 0 },\n    transition: {\n      duration: duration,\n      ease: \"easeInOut\" as const,\n      repeat: isHovered ? 0 : Infinity,\n      repeatType: \"loop\" as const,\n    },\n  };\n\n  const path2Props = {\n    animate: shouldAnimate ? { x: [0, 10, 0] } : { x: 0 },\n    transition: {\n      duration: duration,\n      ease: \"easeInOut\" as const,\n      repeat: isHovered ? 0 : Infinity,\n      repeatType: \"loop\" as const,\n    },\n  };\n\n  const path3Props = {\n    animate: shouldAnimate ? { x: [0, -10, 0] } : { x: 0 },\n    transition: {\n      duration: duration,\n      ease: \"easeInOut\" as const,\n      repeat: isHovered ? 0 : Infinity,\n      repeatType: \"loop\" as const,\n    },\n  };\n\n  return (\n    <LazyMotion features={domAnimation}>\n      <m.svg\n        {...restProps}\n        xmlns=\"http://www.w3.org/2000/svg\"\n        width={size}\n        height={size}\n        viewBox=\"0 0 24 24\"\n        stroke=\"currentColor\"\n        strokeWidth={strokeWidth}\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        className={className}\n        onMouseEnter={() => isHovered && setIsHoveredInternal(true)}\n        onMouseLeave={() => isHovered && setIsHoveredInternal(false)}\n      >\n        <path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\" />\n        <path d=\"M4 6l15 0\" />\n        <m.path\n          className=\"fill-white dark:fill-black\"\n          stroke=\"currentColor\"\n          strokeWidth={strokeWidth}\n          d=\"M14 6m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0\"\n          {...path1Props}\n        />\n\n        <path d=\"M4 12l15 0\" />\n        <m.path\n          className=\"fill-white dark:fill-black\"\n          stroke=\"currentColor\"\n          strokeWidth={strokeWidth}\n          d=\"M8 12m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0\"\n          {...path2Props}\n        />\n\n        <path d=\"M4 18l15 0\" />\n        <m.path\n          className=\"fill-white dark:fill-black\"\n          stroke=\"currentColor\"\n          strokeWidth={strokeWidth}\n          d=\"M17 18m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0\"\n          {...path3Props}\n        />\n      </m.svg>\n    </LazyMotion>\n  );\n};\n\nexport default AdjustmentsHorizontalIcon;\n",
      "type": "registry:component"
    }
  ],
  "type": "registry:component"
}