File icon
il:file
The File icon (il:file) is a free SVG icon from the Icalicons set by Icalia Labs. It is drawn on a 560 × 850 grid. Icalicons are released under the MIT 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
- Icalicons
- Author
- Icalia Labs
- License
- MIT
- Size
- 560 × 850
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="560" height="850" viewBox="0 0 560 850"><path fill="currentColor" d="M347 240q-9 0-16-7t-7-16V8l232 232zm-69-23q0 29 20 49t49 20h209v440q0 10-6 17t-17 7H23q-10 0-16-7t-7-17V31q0-9 7-16t16-7h255z"/></svg>How to use the File icon
React
import { Icon } from "@iconify/react";
<Icon icon="il:file" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="il:file" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="il:file" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[il--file]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/il -->
<div class="i-il:file"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="il:file"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/il/file.svg" alt="File icon" width="24" height="24">File icon in other icon sets
File icon FAQ
Is the File icon free for commercial use?
Yes. Icalicons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the File icon in React?
Install @iconify/react and render <Icon icon="il:file" />, or use “Copy code” on this page to get a standalone React component.
How do I add the File icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/il/file.svg" alt="File icon">, or paste the SVG code inline to style it with CSS.