Files icon
codicon:files
The Files icon (codicon:files) 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
- Tags
- file
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M7.5 22.5h10.095C17.07 23.4 16.11 24 15 24H7.5c-3.315 0-6-2.685-6-6V6c0-1.11.6-2.07 1.5-2.595V18c0 2.475 2.025 4.5 4.5 4.5M21 8.121V18c0 1.654-1.346 3-3 3H7.5c-1.654 0-3-1.346-3-3V3c0-1.654 1.346-3 3-3h5.379c.593 0 1.172.24 1.592.659l5.87 5.87c.425.425.659.99.659 1.592M13.5 6.75c0 .414.338.75.75.75h4.94L13.5 1.81zm6 11.25V9h-5.25C13.01 9 12 7.99 12 6.75V1.5H7.5C6.672 1.5 6 2.174 6 3v15c0 .826.672 1.5 1.5 1.5H18c.828 0 1.5-.674 1.5-1.5"/></svg>How to use the Files icon
React
import { Icon } from "@iconify/react";
<Icon icon="codicon:files" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="codicon:files" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="codicon:files" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[codicon--files]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/codicon -->
<div class="i-codicon:files"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="codicon:files"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/codicon/files.svg" alt="Files icon" width="24" height="24">Files icon in other icon sets
Files icon FAQ
Is the Files 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 Files icon in React?
Install @iconify/react and render <Icon icon="codicon:files" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Files icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/codicon/files.svg" alt="Files icon">, or paste the SVG code inline to style it with CSS.