{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-lucide-gift",
  "type": "registry:ui",
  "title": "Gift Icon",
  "description": "Gift icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/icons/gift/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/gift.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 GiftProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    box: {\n      initial: {\n        y: 0,\n        d: 'M20 11v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8',\n        transition: { duration: 0.3, ease: 'easeInOut' },\n      },\n      animate: {\n        y: 1,\n        d: 'M20 13v6a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-6',\n        transition: { duration: 0.3, ease: 'easeInOut' },\n      },\n    },\n    ribbon: {\n      initial: {\n        y: 0,\n        d: 'M12 11v10',\n        transition: { duration: 0.3, ease: 'easeInOut' },\n      },\n      animate: {\n        y: 1,\n        d: 'M12 13v8',\n        transition: { duration: 0.3, ease: 'easeInOut' },\n      },\n    },\n    group: {\n      initial: {\n        y: 0,\n        rotate: 0,\n        transition: { duration: 0.3, ease: 'easeInOut' },\n      },\n      animate: {\n        y: -1,\n        rotate: [0, -3, 3, 0],\n        transition: {\n          duration: 0.6,\n          ease: 'easeInOut',\n          rotate: {\n            duration: 0.33,\n            ease: 'easeInOut',\n            times: [0, 0.3, 0.65, 1],\n          },\n        },\n      },\n    },\n    lid: {},\n    ribbonTop: {},\n    bow: {},\n  } satisfies Record<string, Variants>,\n  open: {\n    box: {\n      initial: {\n        y: 0,\n        d: 'M20 11v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8',\n        transition: { duration: 0.3, ease: 'easeInOut' },\n      },\n      animate: {\n        y: 1,\n        d: 'M20 13v6a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8',\n        transition: { duration: 0.3, ease: 'easeInOut' },\n      },\n    },\n    ribbon: {\n      initial: { y: 0, transition: { duration: 0.3, ease: 'easeInOut' } },\n      animate: { y: 1, transition: { duration: 0.3, ease: 'easeInOut' } },\n    },\n    group: {\n      initial: {\n        y: 0,\n        rotate: 0,\n        transformOrigin: '0% 100%',\n        transition: { duration: 0.3, ease: 'easeInOut' },\n      },\n      animate: {\n        y: 1,\n        rotate: -7,\n        transformOrigin: '0% 100%',\n        transition: { duration: 0.4, ease: 'easeInOut' },\n      },\n    },\n    lid: {},\n    ribbonTop: {},\n    bow: {},\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: GiftProps) {\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.path\n        d=\"M20 11v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8\"\n        variants={variants.box}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"M12 11v10\"\n        variants={variants.ribbon}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.g variants={variants.group} initial=\"initial\" animate={controls}>\n        <motion.rect\n          x={3}\n          y={7}\n          width={18}\n          height={4}\n          rx={1}\n          variants={variants.lid}\n          initial=\"initial\"\n          animate={controls}\n        />\n        <motion.path\n          d=\"M12 7v4\"\n          variants={variants.ribbonTop}\n          initial=\"initial\"\n          animate={controls}\n        />\n        <motion.path\n          d=\"M7.5 7a1 1 0 0 1 0-5A4.8 8 0 0 1 12 7a4.8 8 0 0 1 4.5-5 1 1 0 0 1 0 5\"\n          variants={variants.bow}\n          initial=\"initial\"\n          animate={controls}\n        />\n      </motion.g>\n    </motion.svg>\n  );\n}\n\nfunction Gift(props: GiftProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  Gift,\n  Gift as GiftIcon,\n  type GiftProps,\n  type GiftProps as GiftIconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "present",
      "surprise",
      "reward",
      "birthday"
    ]
  }
}