File Code icon
ph:file-code
The File Code icon (ph:file-code) is a free SVG icon from the Phosphor set by Phosphor Icons. It is drawn on a 256 × 256 grid. Phosphor 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
- Phosphor
- Author
- Phosphor Icons
- License
- MIT
- Size
- 256 × 256
- Tags
- documents, filecode
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256"><path fill="currentColor" d="M181.66 146.34a8 8 0 0 1 0 11.32l-24 24a8 8 0 0 1-11.32-11.32L164.69 152l-18.35-18.34a8 8 0 0 1 11.32-11.32Zm-72-24a8 8 0 0 0-11.32 0l-24 24a8 8 0 0 0 0 11.32l24 24a8 8 0 0 0 11.32-11.32L91.31 152l18.35-18.34a8 8 0 0 0 0-11.32M216 88v128a16 16 0 0 1-16 16H56a16 16 0 0 1-16-16V40a16 16 0 0 1 16-16h96a8 8 0 0 1 5.66 2.34l56 56A8 8 0 0 1 216 88m-56-8h28.69L160 51.31Zm40 136V96h-48a8 8 0 0 1-8-8V40H56v176z"/></svg>How to use the File Code icon
React
import { Icon } from "@iconify/react";
<Icon icon="ph:file-code" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ph:file-code" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ph:file-code" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ph--file-code]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ph -->
<div class="i-ph:file-code"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ph:file-code"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ph/file-code.svg" alt="File Code icon" width="24" height="24">Related icons in Phosphor
file
file-archive
file-archive-bold
file-archive-duotone
file-archive-fill
file-archive-light
file-archive-thin
file-arrow-down
file-arrow-down-bold
file-arrow-down-duotone
file-arrow-down-fill
file-arrow-down-light
file-arrow-down-thin
file-arrow-up
file-arrow-up-bold
file-arrow-up-duotone
file-arrow-up-fill
file-arrow-up-light
file-arrow-up-thin
file-audio
file-audio-bold
file-audio-duotone
file-audio-fill
file-audio-light
File Code icon in other icon sets
File Code icon FAQ
Is the File Code icon free for commercial use?
Yes. Phosphor icons 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="ph: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/ph/file-code.svg" alt="File Code icon">, or paste the SVG code inline to style it with CSS.