File icon
fontisto:file
The File icon (fontisto:file) is a free SVG icon from the Fontisto set by Kenan Gündoğan. It is drawn on a 20 × 24 grid. Fontisto icons 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
- Fontisto
- Author
- Kenan Gündoğan
- License
- MIT
- Size
- 20 × 24
- Category
- Editor
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="24" viewBox="0 0 20 24"><path fill="currentColor" d="M19.638 8.945a1.08 1.08 0 0 0-.249-.692l.001.002l-.004-.006a1 1 0 0 0-.063-.069l-.009-.009l-.028-.029L11.463.321a1 1 0 0 0-.07-.063l-.022-.02l-.054-.04L11.29.18l-.058-.036l-.024-.014q-.04-.022-.081-.039l-.033-.013l-.057-.021L11 .045l-.067-.017l-.026-.006l-.094-.015h-9.72C.493.007.006.492.002 1.091v21.818C.002 23.512.491 24 1.093 24h17.454c.603 0 1.091-.489 1.091-1.091V8.974l.001-.029zM11.781 3.72l4.13 4.135h-4.13zM2.182 21.818V2.181h7.42v6.767c0 .603.489 1.091 1.091 1.091h6.767v11.779z"/></svg>How to use the File icon
React
import { Icon } from "@iconify/react";
<Icon icon="fontisto:file" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fontisto:file" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fontisto:file" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fontisto--file]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fontisto -->
<div class="i-fontisto:file"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fontisto:file"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fontisto/file.svg" alt="File icon" width="24" height="24">Related icons in Fontisto
File icon in other icon sets
File icon FAQ
Is the File icon free for commercial use?
Yes. Fontisto icons 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="fontisto: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/fontisto/file.svg" alt="File icon">, or paste the SVG code inline to style it with CSS.