{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-hugeicons-copy-01",
  "type": "registry:ui",
  "title": "Copy 01 Icon",
  "description": "Copy 01 icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/hugeicons/copy-01/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/hugeicons/copy-01.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 Copy01Props = IconProps<keyof typeof animations>;\n\nconst SHEET =\n  'M7.5 16.5C6.10355 16.5 5.40533 16.5 4.84402 16.3036C3.83866 15.9518 3.0482 15.1613 2.69641 14.156C2.5 13.5947 2.5 12.8964 2.5 11.5V9.5C2.5 6.20017 2.5 4.55025 3.52513 3.52513C4.55025 2.5 6.20017 2.5 9.5 2.5H11.5C12.8964 2.5 13.5947 2.5 14.156 2.69641C15.1613 3.0482 15.9518 3.83866 16.3036 4.84402C16.5 5.40533 16.5 6.10355 16.5 7.5';\n\nconst LANDED =\n  'M12 19C8.7002 19 7.05025 19 6.02513 17.9749C5 16.9497 5 15.2998 5 12C5 12 5 12 5 12V12C5 8.7002 5 7.05025 6.02513 6.02513C7.05025 5 8.7002 5 12 5H12C15.2998 5 16.9497 5 17.9749 6.02513C19 7.05025 19 8.7002 19 12C19 12 19 12 19 12';\n\nconst animations = {\n  default: {\n    path1: {\n      initial: { x: 0, y: 0, transition: { duration: 0.3, ease: 'easeInOut' } },\n      animate: {\n        x: 1.5,\n        y: 1.5,\n        transition: { duration: 0.3, ease: 'easeInOut' },\n      },\n    },\n    path2: {\n      initial: { x: 0, y: 0, transition: { duration: 0.3, ease: 'easeInOut' } },\n      animate: {\n        x: -1.5,\n        y: -1.5,\n        transition: { duration: 0.3, ease: 'easeInOut' },\n      },\n    },\n  } satisfies Record<string, Variants>,\n  'default-loop': {\n    path1: {\n      initial: { x: 0, y: 0 },\n      animate: {\n        x: [0, 1.5, 0],\n        y: [0, 1.5, 0],\n        transition: { duration: 0.6, ease: 'easeInOut' },\n      },\n    },\n    path2: {\n      initial: { x: 0, y: 0 },\n      animate: {\n        x: [0, -1.5, 0],\n        y: [0, -1.5, 0],\n        transition: { duration: 0.6, ease: 'easeInOut' },\n      },\n    },\n  } satisfies Record<string, Variants>,\n  merge: {\n    path1: {\n      initial: { x: 0, y: 0, transition: { duration: 0.3, ease: 'easeInOut' } },\n      animate: {\n        x: -2.5,\n        y: -2.5,\n        transition: { duration: 0.3, ease: 'easeInOut' },\n      },\n    },\n    path2: {\n      initial: { d: SHEET, transition: { duration: 0.3, ease: 'easeInOut' } },\n      animate: { d: LANDED, transition: { duration: 0.3, ease: 'easeInOut' } },\n    },\n  } satisfies Record<string, Variants>,\n  'merge-loop': {\n    path1: {\n      initial: { x: 0, y: 0 },\n      animate: {\n        x: [0, -2.5, 0],\n        y: [0, -2.5, 0],\n        transition: { duration: 0.6, ease: 'easeInOut' },\n      },\n    },\n    path2: {\n      initial: { d: SHEET },\n      animate: {\n        d: [SHEET, LANDED, SHEET],\n        transition: { duration: 0.6, ease: 'easeInOut' },\n      },\n    },\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: Copy01Props) {\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.path\n        d=\"M7.5 16.5C6.10355 16.5 5.40533 16.5 4.84402 16.3036C3.83866 15.9518 3.0482 15.1613 2.69641 14.156C2.5 13.5947 2.5 12.8964 2.5 11.5V9.5C2.5 6.20017 2.5 4.55025 3.52513 3.52513C4.55025 2.5 6.20017 2.5 9.5 2.5H11.5C12.8964 2.5 13.5947 2.5 14.156 2.69641C15.1613 3.0482 15.9518 3.83866 16.3036 4.84402C16.5 5.40533 16.5 6.10355 16.5 7.5\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        variants={variants.path2}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"M7.5 14.5C7.5 11.2002 7.5 9.55025 8.52513 8.52513C9.55025 7.5 11.2002 7.5 14.5 7.5C17.7998 7.5 19.4497 7.5 20.4749 8.52513C21.5 9.55025 21.5 11.2002 21.5 14.5C21.5 17.7998 21.5 19.4497 20.4749 20.4749C19.4497 21.5 17.7998 21.5 14.5 21.5C11.2002 21.5 9.55025 21.5 8.52513 20.4749C7.5 19.4497 7.5 17.7998 7.5 14.5Z\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        variants={variants.path1}\n        initial=\"initial\"\n        animate={controls}\n      />\n    </motion.svg>\n  );\n}\n\nfunction Copy01(props: Copy01Props) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  Copy01,\n  Copy01 as Copy01Icon,\n  type Copy01Props,\n  type Copy01Props as Copy01IconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "duplicate",
      "clipboard",
      "clone",
      "paste"
    ]
  }
}