{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "adjustments-vertical",
  "title": "adjustments-vertical",
  "description": "Animated adjustments-vertical icon for React",
  "type": "registry:ui",
  "registryDependencies": [],
  "dependencies": ["motion"],
  "files": [
    {
      "path": "adjustments-vertical.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 AdjustmentsVerticalIconHandle {\n  startAnimation: () => void;\n  stopAnimation: () => void;\n}\n\ninterface AdjustmentsVerticalIconProps 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 AdjustmentsVerticalIcon = forwardRef<\n  AdjustmentsVerticalIconHandle,\n  AdjustmentsVerticalIconProps\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: { y2: 13.5 },\n            animate: { y2: 10.5 },\n          }}\n          x1=\"6\"\n          x2=\"6\"\n          y1=\"3.75\"\n          y2=\"13.5\"\n        />\n        <motion.line\n          animate={controls}\n          transition={DEFAULT_TRANSITION}\n          variants={{\n            normal: { y1: 16.5 },\n            animate: { y1: 13.5 },\n          }}\n          x1=\"6\"\n          x2=\"6\"\n          y1=\"16.5\"\n          y2=\"20.25\"\n        />\n        <motion.circle\n          animate={controls}\n          cx=\"6\"\n          cy=\"15\"\n          fill=\"none\"\n          r=\"1.5\"\n          transition={DEFAULT_TRANSITION}\n          variants={{\n            normal: { cy: 15 },\n            animate: { cy: 12 },\n          }}\n        />\n\n        <motion.line\n          animate={controls}\n          transition={DEFAULT_TRANSITION}\n          variants={{\n            normal: { y2: 7.5 },\n            animate: { y2: 10.5 },\n          }}\n          x1=\"12\"\n          x2=\"12\"\n          y1=\"3.75\"\n          y2=\"7.5\"\n        />\n        <motion.line\n          animate={controls}\n          transition={DEFAULT_TRANSITION}\n          variants={{\n            normal: { y1: 10.5 },\n            animate: { y1: 13.5 },\n          }}\n          x1=\"12\"\n          x2=\"12\"\n          y1=\"10.5\"\n          y2=\"20.25\"\n        />\n        <motion.circle\n          animate={controls}\n          cx=\"12\"\n          cy=\"9\"\n          fill=\"none\"\n          r=\"1.5\"\n          transition={DEFAULT_TRANSITION}\n          variants={{\n            normal: { cy: 9 },\n            animate: { cy: 12 },\n          }}\n        />\n\n        <motion.line\n          animate={controls}\n          transition={DEFAULT_TRANSITION}\n          variants={{\n            normal: { y2: 13.5 },\n            animate: { y2: 10.5 },\n          }}\n          x1=\"18\"\n          x2=\"18\"\n          y1=\"3.75\"\n          y2=\"13.5\"\n        />\n        <motion.line\n          animate={controls}\n          transition={DEFAULT_TRANSITION}\n          variants={{\n            normal: { y1: 16.5 },\n            animate: { y1: 13.5 },\n          }}\n          x1=\"18\"\n          x2=\"18\"\n          y1=\"16.5\"\n          y2=\"20.25\"\n        />\n        <motion.circle\n          animate={controls}\n          cx=\"18\"\n          cy=\"15\"\n          fill=\"none\"\n          r=\"1.5\"\n          transition={DEFAULT_TRANSITION}\n          variants={{\n            normal: { cy: 15 },\n            animate: { cy: 12 },\n          }}\n        />\n      </svg>\n    </div>\n  );\n});\n\nAdjustmentsVerticalIcon.displayName = \"AdjustmentsVerticalIcon\";\n\nexport { AdjustmentsVerticalIcon };\n",
      "type": "registry:ui"
    }
  ]
}
