Attach icon
codicon:attach
The Attach icon (codicon:attach) is a free SVG icon from the Codicons set by Microsoft Corporation. It is drawn on a 24 × 24 grid. Codicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Codicons
- Author
- Microsoft Corporation
- License
- CC-BY-4.0
- 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="M2.283 7.975a.5.5 0 0 0 .854.354l4.595-4.597a2.5 2.5 0 1 1 3.536 3.536l-5.303 5.304a1 1 0 0 1-1.414-1.414l5.303-5.304a.5.5 0 0 0-.708-.708l-5.303 5.305a2 2 0 1 0 2.828 2.828l5.303-5.304a3.5 3.5 0 1 0-4.95-4.95L2.43 7.621a.5.5 0 0 0-.146.354"/></svg>How to use the Attach icon
React
import { Icon } from "@iconify/react";
<Icon icon="codicon:attach" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="codicon:attach" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="codicon:attach" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[codicon--attach]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/codicon -->
<div class="i-codicon:attach"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="codicon:attach"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/codicon/attach.svg" alt="Attach icon" width="24" height="24">Related icons in Codicons
Attach icon in other icon sets
Attach icon FAQ
Is the Attach icon free for commercial use?
Yes. Codicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Attach icon in React?
Install @iconify/react and render <Icon icon="codicon:attach" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Attach icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/codicon/attach.svg" alt="Attach icon">, or paste the SVG code inline to style it with CSS.