{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-hugeicons-link-square-02",
  "type": "registry:ui",
  "title": "Link Square 02 Icon",
  "description": "Link Square 02 icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/hugeicons/link-square-02/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/hugeicons/link-square-02.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 LinkSquare02Props = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    frame: {},\n    arrow: {\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    frame: {},\n    arrow: {\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} as const;\n\nfunction IconComponent({ size, ...props }: LinkSquare02Props) {\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=\"M11.0991 3.00012C7.45013 3.00669 5.53932 3.09629 4.31817 4.31764C3.00034 5.63568 3.00034 7.75704 3.00034 11.9997C3.00034 16.2424 3.00034 18.3638 4.31817 19.6818C5.63599 20.9999 7.75701 20.9999 11.9991 20.9999C16.241 20.9999 18.3621 20.9999 19.6799 19.6818C20.901 18.4605 20.9906 16.5493 20.9972 12.8998\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        variants={variants.frame}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"M20.556 3.49612L11.0487 13.0586M20.556 3.49612C20.062 3.00151 16.7343 3.04761 16.0308 3.05762M20.556 3.49612C21.05 3.99074 21.0039 7.32273 20.9939 8.02714\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        variants={variants.arrow}\n        initial=\"initial\"\n        animate={controls}\n      />\n    </motion.svg>\n  );\n}\n\nfunction LinkSquare02(props: LinkSquare02Props) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  LinkSquare02,\n  LinkSquare02 as LinkSquare02Icon,\n  type LinkSquare02Props,\n  type LinkSquare02Props as LinkSquare02IconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "external",
      "open",
      "new tab",
      "link"
    ]
  }
}