{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-hugeicons-link-01",
  "type": "registry:ui",
  "title": "Link 01 Icon",
  "description": "Link 01 icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/hugeicons/link-01/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/hugeicons/link-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 Link01Props = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    path1: {\n      initial: { x: 0, y: 0 },\n      animate: {\n        x: [0, -1, 0],\n        y: [0, 1, 0],\n        transition: {\n          duration: 0.6,\n          times: [0, 0.4, 1],\n          ease: ['easeOut', 'backOut'],\n        },\n      },\n    },\n    path2: {\n      initial: { x: 0, y: 0 },\n      animate: {\n        x: [0, 1, 0],\n        y: [0, -1, 0],\n        transition: {\n          duration: 0.6,\n          times: [0, 0.4, 1],\n          ease: ['easeOut', 'backOut'],\n        },\n      },\n    },\n  } satisfies Record<string, Variants>,\n  'default-loop': {\n    path1: {\n      initial: { x: 0, y: 0 },\n      animate: {\n        x: [0, -1, 0],\n        y: [0, 1, 0],\n        transition: {\n          duration: 0.8,\n          times: [0, 0.4, 1],\n          ease: ['easeOut', 'backOut'],\n        },\n      },\n    },\n    path2: {\n      initial: { x: 0, y: 0 },\n      animate: {\n        x: [0, 1, 0],\n        y: [0, -1, 0],\n        transition: {\n          duration: 0.8,\n          times: [0, 0.4, 1],\n          ease: ['easeOut', 'backOut'],\n        },\n      },\n    },\n  } satisfies Record<string, Variants>,\n  unlink: {\n    path1: {\n      initial: { x: 0, y: 0, transition: { duration: 0.3, ease: 'easeInOut' } },\n      animate: {\n        x: -1,\n        y: 1,\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,\n        y: -1,\n        transition: { duration: 0.3, ease: 'easeInOut' },\n      },\n    },\n  } satisfies Record<string, Variants>,\n  join: {\n    path1: {\n      initial: { x: 0, y: 0, pathLength: 1 },\n      animate: {\n        x: 1.5,\n        y: -1.5,\n        pathLength: 0.85,\n        transition: { duration: 0.4, ease: 'easeInOut' },\n      },\n    },\n    path2: {\n      initial: { x: 0, y: 0, pathLength: 1 },\n      animate: {\n        x: -1.5,\n        y: 1.5,\n        pathLength: 0.85,\n        transition: { duration: 0.4, ease: 'easeInOut' },\n      },\n    },\n  } satisfies Record<string, Variants>,\n  'join-loop': {\n    path1: {\n      initial: { x: 0, y: 0, pathLength: 1 },\n      animate: {\n        x: [0, 1.5, 0],\n        y: [0, -1.5, 0],\n        pathLength: [1, 0.85, 1],\n        transition: { duration: 0.8, ease: 'easeInOut' },\n      },\n    },\n    path2: {\n      initial: { x: 0, y: 0, pathLength: 1 },\n      animate: {\n        x: [0, -1.5, 0],\n        y: [0, 1.5, 0],\n        pathLength: [1, 0.85, 1],\n        transition: { duration: 0.8, ease: 'easeInOut' },\n      },\n    },\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: Link01Props) {\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=\"M9.14339 10.691L9.35031 10.4841C11.329 8.50532 14.5372 8.50532 16.5159 10.4841C18.4947 12.4628 18.4947 15.671 16.5159 17.6497L13.6497 20.5159C11.671 22.4947 8.46279 22.4947 6.48405 20.5159C4.50532 18.5372 4.50532 15.329 6.48405 13.3503L6.9484 12.886\"\n        strokeLinecap=\"round\"\n        variants={variants.path1}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"M17.0516 11.114L17.5159 10.6497C19.4947 8.67095 19.4947 5.46279 17.5159 3.48405C15.5372 1.50532 12.329 1.50532 10.3503 3.48405L7.48405 6.35031C5.50532 8.32904 5.50532 11.5372 7.48405 13.5159C9.46279 15.4947 12.671 15.4947 14.6497 13.5159L14.8566 13.309\"\n        strokeLinecap=\"round\"\n        variants={variants.path2}\n        initial=\"initial\"\n        animate={controls}\n      />\n    </motion.svg>\n  );\n}\n\nfunction Link01(props: Link01Props) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  Link01,\n  Link01 as Link01Icon,\n  type Link01Props,\n  type Link01Props as Link01IconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "chain",
      "url",
      "connect",
      "hyperlink"
    ]
  }
}