{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-hugeicons-megaphone",
  "type": "registry:ui",
  "title": "Megaphone Icon",
  "description": "Megaphone icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/hugeicons/megaphone/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/hugeicons/megaphone.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 MegaphoneProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    horn: {\n      initial: { scale: 1, transformOrigin: '0% 50%' },\n      animate: {\n        scale: [1, 1.06, 1, 1.06, 1],\n        transformOrigin: '0% 50%',\n        transition: { duration: 0.6, ease: 'easeInOut' },\n      },\n    },\n    lines: {\n      initial: { opacity: 1, x: 0 },\n      animate: {\n        opacity: [1, 0.25, 1, 0.25, 1],\n        x: [0, 0.6, 0, 0.6, 0],\n        transition: { duration: 0.6, ease: 'easeInOut' },\n      },\n    },\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: MegaphoneProps) {\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.horn} initial=\"initial\" animate={controls}>\n        <path\n          d=\"M9 14V6H6C5.07003 6 4.60504 6 4.22354 6.10222C3.18827 6.37962 2.37962 7.18827 2.10222 8.22354C2 8.60504 2 9.07003 2 10C2 10.93 2 11.395 2.10222 11.7765C2.37962 12.8117 3.18827 13.6204 4.22354 13.8978C4.60504 14 5.07003 14 6 14H9Z\"\n          strokeLinecap=\"round\"\n          strokeLinejoin=\"round\"\n        />\n        <path\n          d=\"M9 14L9.96466 18.8233C9.98816 18.9408 10 19.0604 10 19.1802V19.3411C10 20.2573 9.25728 21 8.34109 21C7.55885 21 6.8829 20.4536 6.719 19.6887L5.5 14\"\n          strokeLinecap=\"round\"\n          strokeLinejoin=\"round\"\n        />\n        <path\n          d=\"M10 6H9V14H10C11.2982 14 12.5614 14.4211 13.6 15.2L15.747 16.8103C15.9112 16.9334 16.111 17 16.3162 17C16.7246 17 17.0909 16.7404 17.2088 16.3495C17.5537 15.2067 18 13.2728 18 10C18 6.72718 17.5537 4.79327 17.2088 3.65054C17.0909 3.25961 16.7246 3 16.3162 3C16.111 3 15.9112 3.06658 15.747 3.18974L13.6 4.8C12.5614 5.57893 11.2982 6 10 6Z\"\n          strokeLinecap=\"round\"\n          strokeLinejoin=\"round\"\n        />\n      </motion.g>\n      <motion.g variants={variants.lines} initial=\"initial\" animate={controls}>\n        <path d=\"M21 9.99996H22\" strokeLinecap=\"round\" strokeLinejoin=\"round\" />\n        <path\n          d=\"M20.5 6.00109L21.5 5.40637\"\n          strokeLinecap=\"round\"\n          strokeLinejoin=\"round\"\n        />\n        <path\n          d=\"M20.5 14L21.5 14.6481\"\n          strokeLinecap=\"round\"\n          strokeLinejoin=\"round\"\n        />\n      </motion.g>\n    </motion.svg>\n  );\n}\n\nfunction Megaphone(props: MegaphoneProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  Megaphone,\n  Megaphone as MegaphoneIcon,\n  type MegaphoneProps,\n  type MegaphoneProps as MegaphoneIconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "advertisement",
      "announcement",
      "loudspeaker",
      "shout",
      "marketing"
    ]
  }
}