{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-hugeicons-ghost",
  "type": "registry:ui",
  "title": "Ghost Icon",
  "description": "Ghost icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/hugeicons/ghost/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/hugeicons/ghost.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 GhostProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    eyes: {},\n    ghost: {\n      initial: { y: 0, skewX: 0 },\n      animate: {\n        y: [0, -1, 0, -0.5, 0],\n        skewX: [0, 3, -3, 1.5, 0],\n        transition: { duration: 1.2, ease: 'easeInOut' },\n      },\n    },\n  } satisfies Record<string, Variants>,\n  look: {\n    ghost: {},\n    eyes: {\n      initial: { x: 0 },\n      animate: {\n        x: [0, -1.8, -1.8, 1.8, 1.8, 0],\n        transition: {\n          duration: 1.4,\n          times: [0, 0.2, 0.4, 0.6, 0.8, 1],\n          ease: 'easeInOut',\n        },\n      },\n    },\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: GhostProps) {\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.ghost} initial=\"initial\" animate={controls}>\n        <path\n          d=\"M12 2.5C8.13924 2.5 5.00948 5.61997 5.00948 9.46865V11.7676C5.00948 14.1753 4.37917 16.5414 3.18085 18.6319C2.532 19.7638 3.74988 21.0472 4.91961 20.4642L5.84783 20.0015C6.52687 19.6631 7.35027 19.8348 7.83629 20.4162L8.25508 20.9172C8.90472 21.6943 10.1021 21.6943 10.7517 20.9172C11.0765 20.5286 11.5383 20.3343 12 20.3343C12.4617 20.3343 12.9235 20.5286 13.2483 20.9172C13.8979 21.6943 15.0953 21.6943 15.7449 20.9172L16.1637 20.4162C16.6497 19.8348 17.4731 19.6631 18.1522 20.0015L19.0804 20.4642C20.2501 21.0472 21.468 19.7638 20.8192 18.6319C19.6208 16.5414 18.9905 14.1753 18.9905 11.7676V9.46865C18.9905 5.61997 15.8608 2.5 12 2.5Z\"\n          strokeLinecap=\"round\"\n          strokeLinejoin=\"round\"\n        />\n        <motion.g variants={variants.eyes} initial=\"initial\" animate={controls}>\n          <path\n            d=\"M15 10.125V10.25\"\n            strokeLinecap=\"round\"\n            strokeLinejoin=\"round\"\n          />\n          <path\n            d=\"M15.25 10.25C15.25 10.3881 15.1381 10.5 15 10.5C14.8619 10.5 14.75 10.3881 14.75 10.25C14.75 10.1119 14.8619 10 15 10C15.1381 10 15.25 10.1119 15.25 10.25Z\"\n            strokeLinecap=\"round\"\n            strokeLinejoin=\"round\"\n          />\n          <path\n            d=\"M9 10.125V10.25\"\n            strokeLinecap=\"round\"\n            strokeLinejoin=\"round\"\n          />\n          <path\n            d=\"M9.25 10.25C9.25 10.3881 9.13807 10.5 9 10.5C8.86193 10.5 8.75 10.3881 8.75 10.25C8.75 10.1119 8.86193 10 9 10C9.13807 10 9.25 10.1119 9.25 10.25Z\"\n            strokeLinecap=\"round\"\n            strokeLinejoin=\"round\"\n          />\n        </motion.g>\n      </motion.g>\n    </motion.svg>\n  );\n}\n\nfunction Ghost(props: GhostProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  Ghost,\n  Ghost as GhostIcon,\n  type GhostProps,\n  type GhostProps as GhostIconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "pac-man",
      "spooky",
      "halloween",
      "boo",
      "spirit"
    ]
  }
}