{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "adjustments-horizontal",
  "title": "adjustments-horizontal",
  "description": "Animated adjustments-horizontal icon for React",
  "type": "registry:ui",
  "registryDependencies": [],
  "dependencies": ["motion"],
  "files": [
    {
      "path": "adjustments-horizontal.tsx",
      "content": "\"use client\";\n\nimport type { Transition } from \"motion/react\";\nimport { motion, useAnimation } from \"motion/react\";\nimport type { HTMLAttributes } from \"react\";\nimport { forwardRef, useCallback, useImperativeHandle, useRef } from \"react\";\nimport { cn } from \"@/lib/utils\";\n\nexport interface AdjustmentsHorizontalIconHandle {\n  startAnimation: () => void;\n  stopAnimation: () => void;\n}\n\ninterface AdjustmentsHorizontalIconProps\n  extends HTMLAttributes<HTMLDivElement> {\n  size?: number;\n}\n\nconst DEFAULT_TRANSITION: Transition = {\n  type: \"spring\",\n  stiffness: 100,\n  damping: 12,\n  mass: 0.4,\n};\n\nconst AdjustmentsHorizontalIcon = forwardRef<\n  AdjustmentsHorizontalIconHandle,\n  AdjustmentsHorizontalIconProps\n>(({ onMouseEnter, onMouseLeave, className, size = 28, ...props }, ref) => {\n  const controls = useAnimation();\n  const isControlledRef = useRef(false);\n\n  useImperativeHandle(ref, () => {\n    isControlledRef.current = true;\n\n    return {\n      startAnimation: () => controls.start(\"animate\"),\n      stopAnimation: () => controls.start(\"normal\"),\n    };\n  });\n\n  const handleMouseEnter = useCallback(\n    (e: React.MouseEvent<HTMLDivElement>) => {\n      if (isControlledRef.current) {\n        onMouseEnter?.(e);\n      } else {\n        controls.start(\"animate\");\n      }\n    },\n    [controls, onMouseEnter]\n  );\n\n  const handleMouseLeave = useCallback(\n    (e: React.MouseEvent<HTMLDivElement>) => {\n      if (isControlledRef.current) {\n        onMouseLeave?.(e);\n      } else {\n        controls.start(\"normal\");\n      }\n    },\n    [controls, onMouseLeave]\n  );\n\n  return (\n    <div\n      className={cn(className)}\n      onMouseEnter={handleMouseEnter}\n      onMouseLeave={handleMouseLeave}\n      {...props}\n    >\n      <svg\n        fill=\"none\"\n        height={size}\n        stroke=\"currentColor\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        strokeWidth=\"1.5\"\n        viewBox=\"0 0 24 24\"\n        width={size}\n        xmlns=\"http://www.w3.org/2000/svg\"\n      >\n        <motion.line\n          animate={controls}\n          transition={DEFAULT_TRANSITION}\n          variants={{\n            normal: { x1: 10.5 },\n            animate: { x1: 13.5 },\n          }}\n          x1=\"10.5\"\n          x2=\"20.25\"\n          y1=\"6\"\n          y2=\"6\"\n        />\n        <motion.line\n          animate={controls}\n          transition={DEFAULT_TRANSITION}\n          variants={{\n            normal: { x2: 7.5 },\n            animate: { x2: 10.5 },\n          }}\n          x1=\"3.75\"\n          x2=\"7.5\"\n          y1=\"6\"\n          y2=\"6\"\n        />\n        <motion.circle\n          animate={controls}\n          cx=\"9\"\n          cy=\"6\"\n          fill=\"none\"\n          r=\"1.5\"\n          transition={DEFAULT_TRANSITION}\n          variants={{\n            normal: { cx: 9 },\n            animate: { cx: 12 },\n          }}\n        />\n\n        <motion.line\n          animate={controls}\n          transition={DEFAULT_TRANSITION}\n          variants={{\n            normal: { x1: 16.5 },\n            animate: { x1: 13.5 },\n          }}\n          x1=\"16.5\"\n          x2=\"20.25\"\n          y1=\"12\"\n          y2=\"12\"\n        />\n        <motion.line\n          animate={controls}\n          transition={DEFAULT_TRANSITION}\n          variants={{\n            normal: { x2: 13.5 },\n            animate: { x2: 10.5 },\n          }}\n          x1=\"3.75\"\n          x2=\"13.5\"\n          y1=\"12\"\n          y2=\"12\"\n        />\n        <motion.circle\n          animate={controls}\n          cx=\"15\"\n          cy=\"12\"\n          fill=\"none\"\n          r=\"1.5\"\n          transition={DEFAULT_TRANSITION}\n          variants={{\n            normal: { cx: 15 },\n            animate: { cx: 12 },\n          }}\n        />\n\n        <motion.line\n          animate={controls}\n          transition={DEFAULT_TRANSITION}\n          variants={{\n            normal: { x1: 10.5 },\n            animate: { x1: 13.5 },\n          }}\n          x1=\"10.5\"\n          x2=\"20.25\"\n          y1=\"18\"\n          y2=\"18\"\n        />\n        <motion.line\n          animate={controls}\n          transition={DEFAULT_TRANSITION}\n          variants={{\n            normal: { x2: 7.5 },\n            animate: { x2: 10.5 },\n          }}\n          x1=\"3.75\"\n          x2=\"7.5\"\n          y1=\"18\"\n          y2=\"18\"\n        />\n        <motion.circle\n          animate={controls}\n          cx=\"9\"\n          cy=\"18\"\n          fill=\"none\"\n          r=\"1.5\"\n          transition={DEFAULT_TRANSITION}\n          variants={{\n            normal: { cx: 9 },\n            animate: { cx: 12 },\n          }}\n        />\n      </svg>\n    </div>\n  );\n});\n\nAdjustmentsHorizontalIcon.displayName = \"AdjustmentsHorizontalIcon\";\n\nexport { AdjustmentsHorizontalIcon };\n",
      "type": "registry:ui"
    }
  ]
}
