---
title: "Link animated icon"
description: "Link animated icon (Interface). The link connects. Light: the two loops draw apart along the chain until they barely hold, then snap back into each other with a hit; click marks flash out from both sides of the join and the loops rebound a touch and settle. Strong: they draw apart further, snap together harder, knock a second time with a smaller bounce, and the click marks flash out twice. The loops are rigid; they only slide along their shared axis."
canonical: https://generativeicons.com/icons/link/
---

# Link animated icon

The link connects. Light: the two loops draw apart along the chain until they barely hold, then snap back into each other with a hit; click marks flash out from both sides of the join and the loops rebound a touch and settle. Strong: they draw apart further, snap together harder, knock a second time with a smaller bounce, and the click marks flash out twice. The loops are rigid; they only slide along their shared axis.

- Id: `link`
- Category: Interface
- Search terms: chain, chain link, hyperlink, url, web address, copy link, insert link, permalink, href, connect
- One action, back to rest
- Styles: outline, solid, duotone; outline weights 1.5, 2, 2.5 (any from 1 to 3); motion light or strong
- File: https://generativeicons.com/assets/link.lottie (dotLottie, 5042 bytes, sha256 fc3aa2c89de9fa14239801a52b941d9715f24369db420b6080a591fcaf5ea9b0)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add link
```

## React

```tsx
// npm install @lottiefiles/generative-icons-react
'use client';
import { AnimatedIcon } from '@lottiefiles/generative-icons-react';
import icon, { src } from './generative-icons/link.mjs';

export function LinkIcon() {
  return <AnimatedIcon icon={icon} src={src} size={32}
    color="#ffffff" variant="outline" weight={2}
    motion="light" theme="dark" />;
}
```

## JavaScript

```js
import { createIcon } from '@lottiefiles/generative-icons-runtime';
import icon, { src } from './generative-icons/link.mjs';

const handle = await createIcon(canvas, {
  icon, src,
  color: '#ffffff', style: 'outline', weight: 2,
  motion: 'light', theme: 'dark'
});
button.addEventListener('click', () => handle.play());
// On removal: handle.destroy();
```

More: https://generativeicons.com/icons/link/ · https://generativeicons.com/api/icons/link
