{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-hugeicons-cherry",
  "type": "registry:ui",
  "title": "Cherry Icon",
  "description": "Cherry icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/hugeicons/cherry/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/hugeicons/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: '13.7946px 4px' },\n      animate: {\n        rotate: [0, -3.5, 2.5, -1.2, 0],\n        transformOrigin: '13.7946px 4px',\n        transition: { duration: 1, ease: 'easeInOut' },\n      },\n    },\n    cherry2: {\n      initial: { rotate: 0, transformOrigin: '13.7946px 4px' },\n      animate: {\n        rotate: [0, -3.5, 2.5, -1.2, 0],\n        transformOrigin: '13.7946px 4px',\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, -7, 4, -2, 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      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\n          d=\"M10.5 11C9.62217 10.37 8.55171 10 7.39646 10C4.41608 10 2 12.4624 2 15.5C2 18.5376 4.41608 21 7.39646 21C8.08877 21 8.75062 20.8671 9.35882 20.6251\"\n          strokeLinecap=\"round\"\n        />\n        <path\n          d=\"M7.13408 12C6.09142 6.5 11.4006 4.5 13.7946 4\"\n          strokeLinecap=\"round\"\n          strokeLinejoin=\"round\"\n        />\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=\"M22 16.5C22 19.5376 19.5376 22 16.5 22C13.4624 22 11 19.5376 11 16.5C11 13.4624 13.4624 11 16.5 11C19.5376 11 22 13.4624 22 16.5Z\" />\n        <path\n          d=\"M13.7946 4C11.7291 7.13692 14.1631 11.1035 16 13\"\n          strokeLinecap=\"round\"\n          strokeLinejoin=\"round\"\n        />\n      </motion.g>\n      <path\n        d=\"M16 2C14.9847 2.59904 14.2703 3.27752 13.7946 4\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n      />\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"
    ]
  }
}