{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-hugeicons-cross",
  "type": "registry:ui",
  "title": "Cross Icon",
  "description": "Cross icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/hugeicons/cross/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/hugeicons/cross.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 CrossProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    group: {\n      initial: {\n        rotate: 0,\n        transition: { type: 'spring', stiffness: 100, damping: 12 },\n      },\n      animate: {\n        rotate: 90,\n        transition: { type: 'spring', stiffness: 100, damping: 12 },\n      },\n    },\n    path: {},\n  } satisfies Record<string, Variants>,\n  x: {\n    group: {\n      initial: {\n        rotate: 0,\n        transition: { type: 'spring', stiffness: 100, damping: 12 },\n      },\n      animate: {\n        rotate: 45,\n        transition: { type: 'spring', stiffness: 100, damping: 12 },\n      },\n    },\n    path: {},\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: CrossProps) {\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.path\n        d=\"M14.5 7.5V5.5C14.5 5.03534 14.5 4.80302 14.4616 4.60982C14.3038 3.81644 13.6836 3.19624 12.8902 3.03843C12.697 3 12.4647 3 12 3C11.5353 3 11.303 3 11.1098 3.03843C10.3164 3.19624 9.69624 3.81644 9.53843 4.60982C9.5 4.80302 9.5 5.03534 9.5 5.5V7.5C9.5 8.44281 9.5 8.91421 9.20711 9.20711C8.91421 9.5 8.44281 9.5 7.5 9.5H5.5C5.03535 9.5 4.80302 9.5 4.60982 9.53843C3.81644 9.69624 3.19624 10.3164 3.03843 11.1098C3 11.303 3 11.5353 3 12C3 12.4647 3 12.697 3.03843 12.8902C3.19624 13.6836 3.81644 14.3038 4.60982 14.4616C4.80302 14.5 5.03534 14.5 5.5 14.5H7.49998C8.4428 14.5 8.91421 14.5 9.2071 14.7929C9.49999 15.0858 9.49999 15.5572 9.49998 16.5L9.49995 18.5C9.49995 18.9646 9.49995 19.197 9.53838 19.3902C9.69619 20.1836 10.3164 20.8037 11.1097 20.9616C11.303 21 11.5353 21 12 21C12.4647 21 12.697 21 12.8902 20.9616C13.6836 20.8038 14.3038 20.1836 14.4616 19.3902C14.5 19.197 14.5 18.9647 14.5 18.5V16.5C14.5 15.5572 14.5 15.0858 14.7929 14.7929C15.0858 14.5 15.5572 14.5 16.5 14.5H18.5C18.9647 14.5 19.197 14.5 19.3902 14.4616C20.1836 14.3038 20.8038 13.6836 20.9616 12.8902C21 12.697 21 12.4647 21 12C21 11.5353 21 11.303 20.9616 11.1098C20.8038 10.3164 20.1836 9.69624 19.3902 9.53843C19.197 9.5 18.9647 9.5 18.5 9.5H16.5C15.5572 9.5 15.0858 9.5 14.7929 9.20711C14.5 8.91421 14.5 8.44281 14.5 7.5Z\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        variants={variants.path}\n        initial=\"initial\"\n        animate={controls}\n      />\n    </motion.svg>\n  );\n}\n\nfunction Cross(props: CrossProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  Cross,\n  Cross as CrossIcon,\n  type CrossProps,\n  type CrossProps as CrossIconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "healthcare",
      "first aid"
    ]
  }
}