Link icon
gridicons:link
The Link icon (gridicons:link) is a free SVG icon from the Gridicons set by Automattic. It is drawn on a 24 × 24 grid. Gridicons are released under the GPL 2.0 license, which allows use in personal and commercial projects; modified versions of the icon files must keep the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Gridicons
- Author
- Automattic
- License
- GPL-2.0-only
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M17 13H7v-2h10zm1-6h-1c-1.631 0-3.065.792-3.977 2H18c1.103 0 2 .897 2 2v2c0 1.103-.897 2-2 2h-4.977c.913 1.208 2.347 2 3.977 2h1a4 4 0 0 0 4-4v-2a4 4 0 0 0-4-4M2 11v2a4 4 0 0 0 4 4h1c1.63 0 3.065-.792 3.977-2H6c-1.103 0-2-.897-2-2v-2c0-1.103.897-2 2-2h4.977C10.065 7.792 8.631 7 7 7H6a4 4 0 0 0-4 4"/></svg>How to use the Link icon
React
import { Icon } from "@iconify/react";
<Icon icon="gridicons:link" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="gridicons:link" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="gridicons:link" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[gridicons--link]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/gridicons -->
<div class="i-gridicons:link"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="gridicons:link"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/gridicons/link.svg" alt="Link icon" width="24" height="24">Related icons in Gridicons
Link icon in other icon sets
Link icon FAQ
Is the Link icon free for commercial use?
Yes. Gridicons are released under the GPL 2.0 license, which allows use in personal and commercial projects; modified versions of the icon files must keep the same license.
How do I use the Link icon in React?
Install @iconify/react and render <Icon icon="gridicons:link" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Link icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/gridicons/link.svg" alt="Link icon">, or paste the SVG code inline to style it with CSS.