{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-lucide-ghost",
  "type": "registry:ui",
  "title": "Ghost Icon",
  "description": "Ghost icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/icons/ghost/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/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      strokeLinecap=\"round\"\n      strokeLinejoin=\"round\"\n      {...props}\n    >\n      <motion.g variants={variants.ghost} initial=\"initial\" animate={controls}>\n        <path d=\"M7.528 20.472a1.6 1.6 0 012.277 0l1.057 1.056a1.6 1.6 0 002.276 0l1.057-1.056a1.6 1.6 0 012.277 0l1.114 1.114a1.4 1.4 0 002.414-1V10a8 8 0 00-16 0v10.586a1.4 1.4 0 002.414 1z\" />\n        <motion.g variants={variants.eyes} initial=\"initial\" animate={controls}>\n          <path d=\"M15 10v1\" />\n          <path d=\"M9 10v1\" />\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"
    ]
  }
}