File Code icon
fa-regular:file-code
The File Code icon (fa-regular:file-code) is a free SVG icon from the Font Awesome 5 Regular set by Dave Gandy. It is drawn on a 384 × 512 grid. Font Awesome 5 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 5 Regular
- Author
- Dave Gandy
- License
- CC-BY-4.0
- Size
- 384 × 512
- Category
- Code, Files
- Tags
- filecode
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="384" height="512" viewBox="0 0 384 512"><path fill="currentColor" d="m149.9 349.1l-.2-.2l-32.8-28.9l32.8-28.9c3.6-3.2 4-8.8.8-12.4l-.2-.2l-17.4-18.6c-3.4-3.6-9-3.7-12.4-.4l-57.7 54.1c-3.7 3.5-3.7 9.4 0 12.8l57.7 54.1c1.6 1.5 3.8 2.4 6 2.4c2.4 0 4.8-1 6.4-2.8l17.4-18.6c3.3-3.5 3.1-9.1-.4-12.4m220-251.2L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34M256 51.9l76.1 76.1H256zM336 464H48V48h160v104c0 13.3 10.7 24 24 24h104zM209.6 214c-4.7-1.4-9.5 1.3-10.9 6L144 408.1c-1.4 4.7 1.3 9.6 6 10.9l24.4 7.1c4.7 1.4 9.6-1.4 10.9-6L240 231.9c1.4-4.7-1.3-9.6-6-10.9zm24.5 76.9l.2.2l32.8 28.9l-32.8 28.9c-3.6 3.2-4 8.8-.8 12.4l.2.2l17.4 18.6c3.3 3.5 8.9 3.7 12.4.4l57.7-54.1c3.7-3.5 3.7-9.4 0-12.8l-57.7-54.1c-3.5-3.3-9.1-3.2-12.4.4l-17.4 18.6c-3.3 3.5-3.1 9.1.4 12.4"/></svg>How to use the File Code icon
React
import { Icon } from "@iconify/react";
<Icon icon="fa-regular:file-code" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fa-regular:file-code" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fa-regular:file-code" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fa-regular--file-code]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fa-regular -->
<div class="i-fa-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="fa-regular:file-code"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fa-regular/file-code.svg" alt="File Code icon" width="24" height="24">Related icons in Font Awesome 5 Regular
File Code icon in other icon sets
File Code icon FAQ
Is the File Code icon free for commercial use?
Yes. Font Awesome 5 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="fa-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/fa-regular/file-code.svg" alt="File Code icon">, or paste the SVG code inline to style it with CSS.