File Code icon
fa7-regular:file-code
The File Code icon (fa7-regular:file-code) is a free SVG icon from the Font Awesome Regular set by Dave Gandy. It is drawn on a 640 × 640 grid. Font Awesome Regular icons 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
- Font Awesome Regular
- Author
- Dave Gandy
- License
- CC-BY-4.0
- Size
- 640 × 640
- Category
- Files, Code
- Tags
- filecode
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="640" height="640" viewBox="0 0 640 640"><path fill="currentColor" d="M192 112h112v88c0 39.8 32.2 72 72 72h88v240c0 8.8-7.2 16-16 16H192c-8.8 0-16-7.2-16-16V128c0-8.8 7.2-16 16-16m160 19.9l92.1 92.1H376c-13.3 0-24-10.7-24-24zM192 64c-35.3 0-64 28.7-64 64v384c0 35.3 28.7 64 64 64h256c35.3 0 64-28.7 64-64V250.5c0-17-6.7-33.3-18.7-45.3L370.7 82.7c-12-12-28.2-18.7-45.2-18.7zm106.2 295.6c8.6-10.1 7.5-25.2-2.6-33.8s-25.2-7.5-33.8 2.6l-48 56c-7.7 9-7.7 22.2 0 31.2l48 56c8.6 10.1 23.8 11.2 33.8 2.6s11.2-23.8 2.6-33.8L263.6 400zm80-31.2c-8.6-10.1-23.8-11.2-33.8-2.6s-11.2 23.8-2.6 33.8l34.6 40.4l-34.6 40.4c-8.6 10.1-7.5 25.2 2.6 33.8s25.2 7.5 33.8-2.6l48-56c7.7-9 7.7-22.2 0-31.2z"/></svg>How to use the File Code icon
React
import { Icon } from "@iconify/react";
<Icon icon="fa7-regular:file-code" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fa7-regular:file-code" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fa7-regular:file-code" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fa7-regular--file-code]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fa7-regular -->
<div class="i-fa7-regular:file-code"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fa7-regular:file-code"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fa7-regular/file-code.svg" alt="File Code icon" width="24" height="24">Related icons in Font Awesome Regular
File Code icon in other icon sets
File Code icon FAQ
Is the File Code icon free for commercial use?
Yes. Font Awesome Regular icons 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 File Code icon in React?
Install @iconify/react and render <Icon icon="fa7-regular:file-code" />, or use “Copy code” on this page to get a standalone React component.
How do I add the File Code icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/fa7-regular/file-code.svg" alt="File Code icon">, or paste the SVG code inline to style it with CSS.