{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-hugeicons-plug-zap",
  "type": "registry:ui",
  "title": "Plug Zap Icon",
  "description": "Plug Zap icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/hugeicons/plug-zap/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/hugeicons/plug-zap.tsx",
      "content": "'use client';\n\nimport * as React from 'react';\nimport { motion, type Variants } from 'motion/react';\n\nimport {\n  getVariants,\n  useAnimateIconContext,\n  IconWrapper,\n  type IconProps,\n} from '@animate-ui/react/icons';\n\ntype PlugZapProps = IconProps<keyof typeof animations>;\n\nconst PLUG: Variants = {\n  initial: { x: 0, y: 0 },\n  animate: {\n    x: [0, 1.2, 1.2, 0],\n    y: [0, -1.2, -1.2, 0],\n    transition: { duration: 0.8, ease: 'easeInOut', times: [0, 0.3, 0.55, 1] },\n  },\n};\n\nconst animations = {\n  default: {\n    path1: PLUG,\n    path2: PLUG,\n    path3: PLUG,\n    path4: PLUG,\n    path5: {\n      initial: { opacity: 1, scale: 1 },\n      animate: {\n        opacity: [1, 0.5, 1, 0.7, 1],\n        scale: [1, 1.2, 0.95, 1.08, 1],\n        transition: { duration: 0.5, ease: 'easeInOut', delay: 0.2 },\n      },\n    },\n  } satisfies Record<string, Variants>,\n  flicker: {\n    path1: {},\n    path2: {},\n    path3: {},\n    path4: {},\n    path5: {\n      initial: {\n        opacity: 1,\n        scale: 1,\n      },\n      animate: {\n        opacity: [1, 0.5, 1, 0.5, 1],\n        scale: [1, 0.9, 1, 0.9, 1],\n        transition: {\n          duration: 1.8,\n          ease: 'easeInOut',\n        },\n      },\n    },\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: PlugZapProps) {\n  const { controls } = useAnimateIconContext();\n  const variants = getVariants(animations);\n\n  return (\n    <motion.svg\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=\"currentColor\"\n      strokeWidth={2}\n      {...props}\n    >\n      <motion.g variants={variants.path1} initial=\"initial\" animate={controls}>\n        <path\n          d=\"M14.4716 16.8006L7.19135 9.52039\"\n          strokeLinecap=\"round\"\n          strokeLinejoin=\"round\"\n        />\n        <path\n          d=\"M7.71255 10.0399L6.15251 11.6C5.32501 12.4275 4.86013 13.5498 4.86013 14.72C4.86013 14.8523 4.80343 14.9876 4.70894 15.1227C4.03073 16.0921 3.71818 17.2257 4.55476 18.0623L5.93031 19.4378C6.76675 20.2743 7.90038 19.9622 8.86953 19.2839C9.00474 19.1893 9.14021 19.1325 9.2726 19.1325C10.4429 19.1325 11.5652 18.6676 12.3927 17.8401L13.9527 16.2801L7.71255 10.0399Z\"\n          strokeLinecap=\"round\"\n          strokeLinejoin=\"round\"\n        />\n      </motion.g>\n      <motion.path\n        d=\"M2.99237 21.0002L4.99219 18.9999\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        variants={variants.path2}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"M9.49219 11.4999L11.9922 8.99988\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        variants={variants.path3}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"M12.4922 14.4999L14.9922 11.9999\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        variants={variants.path4}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"M18.9922 2.99988L17.4072 4.84909C16.7965 5.56152 16.4912 5.91773 16.625 6.20881C16.7589 6.49988 17.2281 6.49988 18.1664 6.49988H18.5398C19.5813 6.49988 20.1021 6.49988 20.229 6.81109C20.3559 7.12229 19.9836 7.48644 19.2391 8.21474L17.4141 9.99988\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        variants={variants.path5}\n        initial=\"initial\"\n        animate={controls}\n      />\n    </motion.svg>\n  );\n}\n\nfunction PlugZap(props: PlugZapProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  PlugZap,\n  PlugZap as PlugZapIcon,\n  type PlugZapProps,\n  type PlugZapProps as PlugZapIconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "electricity",
      "energy",
      "electronics",
      "charge",
      "charging",
      "battery",
      "connect"
    ]
  }
}