{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "cherry-icon", "type": "registry:ui", "title": "Cherry Icon", "description": "Cherry icon component.", "dependencies": [ "motion" ], "files": [ { "path": "registry/icons/cherry/index.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 '@/components/animate-ui/icons/icon';\n\ntype CherryProps = IconProps;\n\nconst animations = {\n default: {\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 path1: {},\n path2: {},\n path3: {},\n path4: {},\n } satisfies Record,\n} as const;\n\nfunction IconComponent({ size, ...props }: CherryProps) {\n const { controls } = useAnimateIconContext();\n const variants = getVariants(animations);\n\n return (\n \n \n \n \n \n \n );\n}\n\nfunction Cherry(props: CherryProps) {\n return ;\n}\n\nexport {\n animations,\n Cherry,\n Cherry as CherryIcon,\n type CherryProps,\n type CherryProps as CherryIconProps,\n};\n", "type": "registry:ui", "target": "components/animate-ui/icons/cherry.tsx" } ], "meta": { "keywords": [ "fruit", "food" ] } }