File Code icon
boxicons:file-code
The File Code icon (boxicons:file-code) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="m10.04 11.29l-3.2 3.21l3.2 3.21l1.42-1.42l-1.8-1.79l1.8-1.79zm2.5 1.42l1.8 1.79l-1.8 1.79l1.42 1.42l3.2-3.21l-3.2-3.21z"/><path fill="currentColor" d="m19.94 7.68l-.03-.09a.8.8 0 0 0-.2-.29l-5-5c-.09-.09-.19-.15-.29-.2l-.09-.03a.8.8 0 0 0-.26-.05c-.02 0-.04-.01-.06-.01H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-12s-.01-.04-.01-.06c0-.09-.02-.17-.05-.26ZM6 20V4h7v4c0 .55.45 1 1 1h4v11z"/></svg>How to use the File Code icon
React
import { Icon } from "@iconify/react";
<Icon icon="boxicons:file-code" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="boxicons:file-code" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="boxicons:file-code" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--file-code]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:file-code"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="boxicons:file-code"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/boxicons/file-code.svg" alt="File Code icon" width="24" height="24">Related icons in Boxicons
file
file-code-filled
file-cog
file-cog-filled
file-detail
file-detail-filled
file-filled
file-heart
file-heart-filled
file-minus
file-minus-filled
file-plus
file-plus-filled
file-report
file-report-filled
file-search
file-search-filled
file-star
file-star-filled
file-x
file-x-filled
file-zip
file-zip-filled
File Code icon in other icon sets
File Code icon FAQ
Is the File Code icon free for commercial use?
Yes. Boxicons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the File Code icon in React?
Install @iconify/react and render <Icon icon="boxicons: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/boxicons/file-code.svg" alt="File Code icon">, or paste the SVG code inline to style it with CSS.