{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-lucide-cherry",
  "type": "registry:ui",
  "title": "Cherry Icon",
  "description": "Cherry icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/icons/cherry/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/cherry.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 CherryProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    cherry1: {\n      initial: { rotate: 0, transformOrigin: '12px 2px' },\n      animate: {\n        rotate: [0, -3.5, 2.5, -1.2, 0],\n        transformOrigin: '12px 2px',\n        transition: { duration: 1, ease: 'easeInOut' },\n      },\n    },\n    cherry2: {\n      initial: { rotate: 0, transformOrigin: '12px 2px' },\n      animate: {\n        rotate: [0, -3.5, 2.5, -1.2, 0],\n        transformOrigin: '12px 2px',\n        transition: { duration: 1, ease: 'easeInOut', delay: 0.06 },\n      },\n    },\n  } satisfies Record<string, Variants>,\n  swing: {\n    group: {\n      initial: {\n        rotate: 0,\n      },\n      animate: {\n        rotate: [0, -12, 7, -4, 0],\n        transformOrigin: 'top center',\n        transition: {\n          duration: 0.8,\n          ease: 'easeInOut',\n        },\n      },\n    },\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: CherryProps) {\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      variants={variants.group}\n      initial=\"initial\"\n      animate={controls}\n      {...props}\n    >\n      <motion.g\n        variants={variants.cherry1}\n        initial=\"initial\"\n        animate={controls}\n        style={{ transformBox: 'view-box' }}\n      >\n        <path d=\"M2 17a5 5 0 0 0 10 0c0-2.76-2.5-5-5-3-2.5-2-5 .24-5 3Z\" />\n        <path d=\"M7 14c3.22-2.91 4.29-8.75 5-12\" />\n      </motion.g>\n      <motion.g\n        variants={variants.cherry2}\n        initial=\"initial\"\n        animate={controls}\n        style={{ transformBox: 'view-box' }}\n      >\n        <path d=\"M12 17a5 5 0 0 0 10 0c0-2.76-2.5-5-5-3-2.5-2-5 .24-5 3Z\" />\n        <path d=\"M12 2c1.66 2.38 4.94 9 5 12\" />\n      </motion.g>\n      <path d=\"M22 9c-4.29 0-7.14-2.33-10-7 5.71 0 10 4.67 10 7Z\" />\n    </motion.svg>\n  );\n}\n\nfunction Cherry(props: CherryProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  Cherry,\n  Cherry as CherryIcon,\n  type CherryProps,\n  type CherryProps as CherryIconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "fruit",
      "food"
    ]
  }
}