{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-hugeicons-attachment-01",
  "type": "registry:ui",
  "title": "Attachment 01 Icon",
  "description": "Attachment 01 icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/hugeicons/attachment-01/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/hugeicons/attachment-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 Attachment01Props = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    path: {\n      initial: { rotate: 0 },\n      animate: {\n        rotate: [0, -12, 8, -4, 0],\n        transition: { duration: 0.8, ease: 'easeInOut' },\n      },\n    },\n  } satisfies Record<string, Variants>,\n  draw: {\n    path: {\n      initial: { pathLength: 1 },\n      animate: {\n        pathLength: [0.02, 1],\n        transition: { duration: 1.2, ease: 'easeInOut' },\n      },\n    },\n  } satisfies Record<string, Variants>,\n  'draw-loop': {\n    path: {\n      initial: { pathLength: 1 },\n      animate: {\n        pathLength: [1, 0.02, 1],\n        transition: { duration: 2.4, ease: 'easeInOut' },\n      },\n    },\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: Attachment01Props) {\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=\"M5.82338 12L4.27922 10.4558C2.57359 8.75022 2.57359 5.98485 4.27922 4.27922C5.98485 2.57359 8.75022 2.57359 10.4558 4.27922L19.7208 13.5442C21.4264 15.2498 21.4264 18.0152 19.7208 19.7208C18.0152 21.4264 15.2498 21.4264 13.5442 19.7208L10.0698 16.2464C9.00379 15.1804 9.00379 13.4521 10.0698 12.386C11.1358 11.32 12.8642 11.32 13.9302 12.386L15.8604 14.3162\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        variants={variants.path}\n        initial=\"initial\"\n        animate={controls}\n      />\n    </motion.svg>\n  );\n}\n\nfunction Attachment01(props: Attachment01Props) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  Attachment01,\n  Attachment01 as Attachment01Icon,\n  type Attachment01Props,\n  type Attachment01Props as Attachment01IconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "paperclip",
      "attach",
      "file",
      "clip"
    ]
  }
}