{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-lucide-zap",
  "type": "registry:ui",
  "title": "Zap Icon",
  "description": "Zap icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/icons/zap/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/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 ZapProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    group: {\n      initial: { scale: 1 },\n      animate: {\n        scale: [1, 0.9, 1.15, 1],\n        transition: { duration: 0.6, ease: 'easeInOut' },\n      },\n    },\n    path: {},\n  } satisfies Record<string, Variants>,\n  fill: {\n    group: {\n      initial: { scale: 1 },\n      animate: {\n        scale: [1, 0.9, 1.15, 1],\n        transition: { duration: 0.6, ease: 'easeInOut' },\n      },\n    },\n    path: {\n      initial: { fill: 'currentColor', fillOpacity: 0 },\n      animate: { fillOpacity: 1, transition: { delay: 0.2 } },\n    },\n  } satisfies Record<string, Variants>,\n  shake: {\n    group: {\n      initial: { scale: 1, rotate: 0 },\n      animate: {\n        scale: [1, 0.9, 1.08, 0.98, 1],\n        rotate: [0, -8, 8, -4, 0],\n        transition: { duration: 0.5, ease: 'easeInOut' },\n      },\n    },\n    path: {},\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: ZapProps) {\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      strokeLinecap=\"round\"\n      strokeLinejoin=\"round\"\n      {...props}\n    >\n      <motion.g variants={variants.group} initial=\"initial\" animate={controls}>\n        <motion.path\n          d=\"M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z\"\n          variants={variants.path}\n          initial=\"initial\"\n          animate={controls}\n        />\n      </motion.g>\n    </motion.svg>\n  );\n}\n\nfunction Zap(props: ZapProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  Zap,\n  Zap as ZapIcon,\n  type ZapProps,\n  type ZapProps as ZapIconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "lightning",
      "energy",
      "power",
      "bolt"
    ]
  }
}