{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "biceps-flexed",
  "type": "registry:ui",
  "registryDependencies": [],
  "dependencies": ["motion"],
  "devDependencies": [],
  "files": [
    {
      "path": "biceps-flexed.tsx",
      "content": "\"use client\";\n\nimport { motion, useAnimation, type Variants } from \"motion/react\";\nimport type { HTMLAttributes } from \"react\";\nimport { forwardRef, useCallback, useImperativeHandle, useRef } from \"react\";\nimport { cn } from \"@/lib/utils\";\n\nexport interface BicepsFlexedIconHandle {\n  startAnimation: () => void;\n  stopAnimation: () => void;\n}\n\ninterface BicepsFlexedIconProps extends HTMLAttributes<HTMLDivElement> {\n  size?: number;\n}\n\nconst BICEPS_FLEXED_SVG_VARIANTS: Variants = {\n  normal: {\n    rotate: 0,\n  },\n  animate: {\n    rotate: [0, 15, 0],\n    transition: {\n      duration: 2,\n      ease: \"easeInOut\",\n      repeat: Number.POSITIVE_INFINITY,\n    },\n  },\n};\n\nconst BICEPS_FLEXED_PATH_VARIANTS: Variants = {\n  normal: {\n    rotate: 0,\n    scale: 1,\n  },\n  animate: {\n    rotate: [0, 15, 0],\n    scale: [1, 1.3, 1],\n    transition: {\n      duration: 2,\n      ease: \"easeInOut\",\n      repeat: Number.POSITIVE_INFINITY,\n    },\n  },\n};\n\nconst BicepsFlexedIcon = forwardRef<\n  BicepsFlexedIconHandle,\n  BicepsFlexedIconProps\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    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      <motion.svg\n        fill=\"none\"\n        height={size}\n        stroke=\"currentColor\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        strokeWidth=\"2\"\n        style={{ overflow: \"visible\" }}\n        viewBox=\"0 0 24 24\"\n        width={size}\n        xmlns=\"http://www.w3.org/2000/svg\"\n      >\n        <motion.path\n          animate={controls}\n          d=\"M12.409 13.017A5 5 0 0 1 22 15c0 3.866-4 7-9 7-4.077 0-8.153-.82-10.371-2.462-.426-.316-.631-.832-.62-1.362C2.118 12.723 2.627 2 10 2a3 3 0 0 1 3 3 2 2 0 0 1-2 2c-1.105 0-1.64-.444-2-1\"\n          initial=\"normal\"\n          variants={BICEPS_FLEXED_PATH_VARIANTS}\n        />\n        <motion.path\n          animate={controls}\n          d=\"M15 14a5 5 0 0 0-7.584 2\"\n          initial=\"normal\"\n          variants={BICEPS_FLEXED_SVG_VARIANTS}\n        />\n        <motion.path\n          animate={controls}\n          d=\"M9.964 6.825C8.019 7.977 9.5 13 8 15\"\n          initial=\"normal\"\n          variants={BICEPS_FLEXED_SVG_VARIANTS}\n        />\n      </motion.svg>\n    </div>\n  );\n});\n\nBicepsFlexedIcon.displayName = \"BicepsFlexedIcon\";\n\nexport { BicepsFlexedIcon };\n",
      "type": "registry:ui"
    }
  ]
}
