ICONYZ
English
File Code icon from Codicons

File Code icon

codicon:file-code

The File Code icon (codicon:file-code) 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
filecode
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="currentColor"><path d="m13.56 4.35l-2.91-2.91A1.52 1.52 0 0 0 9.59 1H6a2.006 2.006 0 0 0-2 2v5.83c.281.073.537.222.74.43q.162.152.26.35V3a1 1 0 0 1 1-1h3v2.5A1.5 1.5 0 0 0 10.5 6H13v7a1 1 0 0 1-1 1h-1.52l-1.01 1H12a2.006 2.006 0 0 0 2-2V5.41a1.52 1.52 0 0 0-.44-1.06M10.5 5a.5.5 0 0 1-.5-.5V2.21L12.79 5zm-7.022 9.978a.5.5 0 0 1-.353-.147l-1.979-1.977a.5.5 0 0 1 0-.708l2-2a.5.5 0 1 1 .708.708L2.207 12.5l1.625 1.624a.5.5 0 0 1-.354.854"/><path d="M7.522 14.978a.5.5 0 0 1-.354-.854L8.793 12.5l-1.647-1.646a.5.5 0 1 1 .708-.708l2 2a.5.5 0 0 1 0 .708l-1.979 1.977a.5.5 0 0 1-.353.147"/></g></svg>

How to use the File Code icon

React

import { Icon } from "@iconify/react";

<Icon icon="codicon:file-code" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="codicon:file-code" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="codicon:file-code" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[codicon--file-code]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/codicon -->
<div class="i-codicon:file-code"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="codicon:file-code"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/codicon/file-code.svg" alt="File Code icon" width="24" height="24">

Related icons in Codicons

File Code icon in other icon sets

File Code icon FAQ

Is the File Code 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 File Code icon in React?

Install @iconify/react and render <Icon icon="codicon: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/codicon/file-code.svg" alt="File Code icon">, or paste the SVG code inline to style it with CSS.

Browse all Codicons →