{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "plug-connected-icon",
  "dependencies": ["motion"],
  "devDependencies": [],
  "registryDependencies": [],
  "files": [
    {
      "path": "icons/plug-connected-icon.tsx",
      "content": "import { forwardRef, useImperativeHandle, useCallback } from \"react\";\nimport type { AnimatedIconHandle, AnimatedIconProps } from \"./types\";\nimport { motion, useAnimate } from \"motion/react\";\n\nconst PlugConnectedIcon = forwardRef<AnimatedIconHandle, AnimatedIconProps>(\n  (\n    { size = 24, color = \"currentColor\", strokeWidth = 2, className = \"\" },\n    ref,\n  ) => {\n    const [scope, animate] = useAnimate();\n\n    const start = useCallback(async () => {\n      animate(\n        \".plug-upper-part\",\n        {\n          y: 2,\n          x: -2,\n        },\n        {\n          duration: 0.35,\n          ease: \"easeOut\",\n        },\n      );\n\n      animate(\n        \".plug-lower-leg\",\n        {\n          opacity: 0,\n        },\n        {\n          duration: 0.35,\n          ease: \"easeOut\",\n        },\n      );\n\n      animate(\n        \".plug-lower-part\",\n        {\n          y: -2,\n          x: 2,\n        },\n        {\n          duration: 0.35,\n          ease: \"easeOut\",\n        },\n      );\n    }, [animate]);\n\n    const stop = useCallback(async () => {\n      animate(\n        \".plug-upper-part, .plug-lower-leg, .plug-lower-part\",\n        {\n          y: 0,\n          x: 0,\n          opacity: 1,\n        },\n        {\n          duration: 0.3,\n          ease: \"easeInOut\",\n        },\n      );\n    }, [animate]);\n\n    useImperativeHandle(ref, () => ({\n      startAnimation: start,\n      stopAnimation: stop,\n    }));\n\n    return (\n      <motion.svg\n        ref={scope}\n        xmlns=\"http://www.w3.org/2000/svg\"\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        className={`cursor-pointer ${className}`}\n        onHoverStart={start}\n        onHoverEnd={stop}\n      >\n        <motion.path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\" />\n        {/* <motion.path d=\"M20 16l-4 4\" /> */}\n        <motion.path\n          d=\"M7 12l5 5l-1.5 1.5a3.536 3.536 0 1 1 -5 -5l1.5 -1.5z\"\n          className=\"plug-lower-part\"\n        />\n        <motion.path\n          d=\"M17 12l-5 -5l1.5 -1.5a3.536 3.536 0 1 1 5 5l-1.5 1.5z\"\n          className=\"plug-upper-part\"\n        />\n        <motion.path d=\"M3 21l2.5 -2.5\" className=\"plug-lower-part\" />\n        <motion.path d=\"M18.5 5.5l2.5 -2.5\" className=\"plug-upper-part\" />\n        <motion.path\n          d=\"M10 11l-2 2\"\n          className=\"plug-lower-part plug-lower-leg\"\n        />\n        <motion.path\n          d=\"M13 14l-2 2\"\n          className=\"plug-lower-part plug-lower-leg\"\n        />\n        {/* <motion.path d=\"M16 16l4 4\" /> */}\n      </motion.svg>\n    );\n  },\n);\n\nPlugConnectedIcon.displayName = \"PlugConnectedIcon\";\nexport default PlugConnectedIcon;\n",
      "type": "registry:ui"
    },
    {
      "path": "icons/types.ts",
      "content": "import type { SVGProps } from \"react\";\n\n/** Standard stroke width for 24×24 outline icons */\nexport const DEFAULT_STROKE_WIDTH = 2;\n\n/** Scale stroke to match DEFAULT_STROKE_WIDTH on non-24 viewBoxes */\nexport function scaledStrokeWidth(\n  strokeWidth: number,\n  viewBoxSize: number,\n): number {\n  return strokeWidth * (viewBoxSize / 24);\n}\n\nexport type IconEasing =\n  | \"linear\"\n  | \"easeIn\"\n  | \"easeOut\"\n  | \"easeInOut\"\n  | \"circIn\"\n  | \"circOut\"\n  | \"circInOut\"\n  | \"backIn\"\n  | \"backOut\"\n  | \"backInOut\"\n  | \"anticipate\";\n\nexport interface AnimatedIconProps extends Omit<\n  SVGProps<SVGSVGElement>,\n  | \"ref\"\n  | \"onAnimationStart\"\n  | \"onAnimationEnd\"\n  | \"onAnimationIteration\"\n  | \"onDrag\"\n  | \"onDragEnd\"\n  | \"onDragEnter\"\n  | \"onDragExit\"\n  | \"onDragLeave\"\n  | \"onDragOver\"\n  | \"onDragStart\"\n  | \"onDrop\"\n  | \"values\"\n> {\n  /** Icon size in pixels or CSS string */\n  size?: number | string;\n  /** Icon color (defaults to currentColor) */\n  color?: string;\n  /** SVG stroke width */\n  strokeWidth?: number;\n  /** Additional CSS classes */\n  className?: string;\n}\n\nexport interface AnimatedIconHandle {\n  startAnimation: () => void;\n  stopAnimation: () => void;\n}\n",
      "type": "registry:ui"
    }
  ],
  "type": "registry:ui"
}
