Attach File icon
material-symbols:attach-file
The Attach File icon (material-symbols:attach-file) is a free SVG icon from the Material Symbols set by Google. It is drawn on a 24 × 24 grid. Material Symbols icons are released under the Apache 2.0 license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Material Symbols
- Author
- License
- Apache-2.0
- Size
- 24 × 24
- Category
- Text
- Tags
- add, attach, attachment, clip, file, link, mail, media, paperclip, editor, attachfile, attach file outline sharp, attach file outline, attach file sharp
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M18 15.75q0 2.6-1.825 4.425T11.75 22t-4.425-1.825T5.5 15.75V6.5q0-1.875 1.313-3.187T10 2t3.188 1.313T14.5 6.5v8.75q0 1.15-.8 1.95t-1.95.8t-1.95-.8t-.8-1.95V6h2v9.25q0 .325.213.538t.537.212t.538-.213t.212-.537V6.5q-.025-1.05-.737-1.775T10 4t-1.775.725T7.5 6.5v9.25q-.025 1.775 1.225 3.013T11.75 20q1.75 0 2.975-1.237T16 15.75V6h2z"/></svg>How to use the Attach File icon
React
import { Icon } from "@iconify/react";
<Icon icon="material-symbols:attach-file" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="material-symbols:attach-file" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="material-symbols:attach-file" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[material-symbols--attach-file]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/material-symbols -->
<div class="i-material-symbols:attach-file"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="material-symbols:attach-file"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/material-symbols/attach-file.svg" alt="Attach File icon" width="24" height="24">Related icons in Material Symbols
Attach File icon in other icon sets
Attach File icon FAQ
Is the Attach File icon free for commercial use?
Yes. Material Symbols icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Attach File icon in React?
Install @iconify/react and render <Icon icon="material-symbols:attach-file" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Attach File icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/material-symbols/attach-file.svg" alt="Attach File icon">, or paste the SVG code inline to style it with CSS.