Document Code icon

The Document Code icon is part of Microsoft's Fluent UI System Icons, available here in regular and filled styles on a 16 px grid. Download it as SVG or PNG, or copy it as code — it's free to use under the MIT License.

Regular (outlined)

SVG

Filled

SVG

Every size and style

Microsoft draws each size separately so icons stay crisp, rather than scaling one drawing. Pick a style and size to preview it, download it, or copy the code for your platform.

Regular, 16 px

ic_fluent_document_code_16_regular.svg

Document Code icon in React

npm install @fluentui/react-icons

import { DocumentCode16Regular } from "@fluentui/react-icons";

export function Example() {
  return <DocumentCode16Regular aria-label="Document Code" />;
}

Document Code icon in SVG

npm install @fluentui/svg-icons

import icon from "@fluentui/svg-icons/icons/document_code_16_regular.svg";

<!-- or load it from a CDN -->
<img src="https://cdn.jsdelivr.net/npm/@fluentui/[email protected]/icons/document_code_16_regular.svg" width="16" height="16" alt="Document Code">

Document Code icon in Blazor

Microsoft's Fluent UI Blazor icons package:

dotnet add package Microsoft.FluentUI.AspNetCore.Components.Icons

<FluentIcon Value="@(new Icons.Regular.Size16.DocumentCode())" />

Document Code icon in WinUI / WPF

Add FluentSystemIcons-Regular.ttf from Microsoft's repository to your app, then use the glyph:

<!-- WinUI 3 (font in Assets/Fonts) -->
<FontIcon FontFamily="ms-appx:///Assets/Fonts/FluentSystemIcons-Regular.ttf#FluentSystemIcons-Regular" Glyph="&#xF0A26;" FontSize="16" />

<!-- WPF (font in Fonts/, Build Action: Resource) -->
<TextBlock FontFamily="pack://application:,,,/Fonts/#FluentSystemIcons-Regular" Text="&#xF0A26;" FontSize="16" />

Document Code icon in Icon font

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/microsoft/fluentui-system-icons@9cf8af0f95a555918a60b8147a2f33a6a1248442/fonts/FluentSystemIcons-Regular.css">

<i class="icon-ic_fluent_document_code_16_regular"></i>

/* or use the code point in your own CSS */
.icon::before {
  font-family: "FluentSystemIcons-Regular";
  content: "\f0a26";
  font-size: 16px;
}

Document Code icon in Android

// build.gradle
implementation("com.microsoft.design:fluent-system-icons:1.1.341@aar")

<!-- layout XML -->
<ImageView android:src="@drawable/ic_fluent_document_code_16_regular" />

// Kotlin
R.drawable.ic_fluent_document_code_16_regular

Document Code icon in iOS

# Podfile
pod "FluentIcons", "1.1.341"

import FluentIcons

UIImage(fluent: .documentCode16Regular)

Document Code icon in Power Apps

Paste into an Image control's Image property. The Copy button copies the full formula with this icon's SVG.

"data:image/svg+xml;utf8, " & EncodeUrl("<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'>…</svg>")

Use the Document Code icon in React

Install Microsoft's @fluentui/react-icons package, then import the component. Icons inherit the current text color, and you can size them with CSS.

npm install @fluentui/react-icons

import { DocumentCode16Regular, DocumentCode16Filled } from "@fluentui/react-icons";

export function Example() {
  return <DocumentCode16Regular aria-label="Document Code" />;
}

Use it in HTML

Reference the SVG file directly:

<img src="https://fluenticons.co/icons/ic_fluent_document_code_16_regular.svg" width="16" height="16" alt="Document Code">

Or paste the SVG markup inline. Setting fill="currentColor" makes the icon follow the text color of its parent:

<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M7.14 7.02a.5.5 0 0 1 .35.62l-2 7a.5.5 0 0 1-.94.07.5.5 0 0 1-.03-.35l2-7a.5.5 0 0 1 .62-.34M9.6 1c.4 0 .78.16 1.06.44l2.91 2.91c.28.28.44.67.44 1.06V13a2 2 0 0 1-2 2H6.42l.03-.09.26-.91H12a1 1 0 0 0 1-1V6h-2.5A1.5 1.5 0 0 1 9 4.5V2H6a1 1 0 0 0-1 1v5.4a3 3 0 0 0-1-.66V3c0-1.1.9-2 2-2zM10 4.5c0 .28.22.5.5.5h2.3L10 2.2zM2.62 8.67a.5.5 0 0 1 .76.65l-1.22 1.43 1.22 1.42a.5.5 0 0 1-.76.65l-1.5-1.75a.5.5 0 0 1 0-.65zm6.05-.05a.5.5 0 0 1 .71.05l1.5 1.75a.5.5 0 0 1 0 .65l-1.5 1.75a.5.5 0 0 1-.76-.65l1.22-1.42-1.22-1.43a.5.5 0 0 1 .05-.7"/></svg>

Details

NameDocument Code
StylesRegular (outlined), Filled
Sizes16 px
Regular (outlined) fileic_fluent_document_code_16_regular.svg
Filled fileic_fluent_document_code_16_filled.svg
React (Regular)DocumentCode16Regular
React (Filled)DocumentCode16Filled
LicenseMIT (© Microsoft Corporation)

Related icons