{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-hugeicons-credit-card",
  "type": "registry:ui",
  "title": "Credit Card Icon",
  "description": "Credit Card icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/hugeicons/credit-card/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/hugeicons/credit-card.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 CreditCardProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    card: {\n      initial: { transform: 'rotate3d(0, 1, 0, 0deg)', perspective: 600 },\n      animate: {\n        transform: 'rotate3d(0, 1, 0, 360deg)',\n        perspective: 600,\n        transition: { ease: 'easeInOut', duration: 0.7 },\n      },\n    },\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: CreditCardProps) {\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      {...props}\n    >\n      <motion.g variants={variants.card} initial=\"initial\" animate={controls}>\n        <path\n          d=\"M2 12C2 8.46252 2 6.69377 3.0528 5.5129C3.22119 5.32403 3.40678 5.14935 3.60746 4.99087C4.86213 4 6.74142 4 10.5 4H13.5C17.2586 4 19.1379 4 20.3925 4.99087C20.5932 5.14935 20.7788 5.32403 20.9472 5.5129C22 6.69377 22 8.46252 22 12C22 15.5375 22 17.3062 20.9472 18.4871C20.7788 18.676 20.5932 18.8506 20.3925 19.0091C19.1379 20 17.2586 20 13.5 20H10.5C6.74142 20 4.86213 20 3.60746 19.0091C3.40678 18.8506 3.22119 18.676 3.0528 18.4871C2 17.3062 2 15.5375 2 12Z\"\n          strokeLinecap=\"round\"\n          strokeLinejoin=\"round\"\n        />\n        <path d=\"M2 9H22\" strokeLinejoin=\"round\" />\n        <path d=\"M10 16H11.5\" strokeLinecap=\"round\" strokeLinejoin=\"round\" />\n        <path d=\"M14.5 16L18 16\" strokeLinecap=\"round\" strokeLinejoin=\"round\" />\n      </motion.g>\n    </motion.svg>\n  );\n}\n\nfunction CreditCard(props: CreditCardProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  CreditCard,\n  CreditCard as CreditCardIcon,\n  type CreditCardProps,\n  type CreditCardProps as CreditCardIconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "bank",
      "purchase",
      "payment",
      "cc",
      "debit"
    ]
  }
}