1. Icon Monks
  2. Files icons
  3. File Diff

File Diff icon

The file diff icon is a free files icon from Icon Monks, drawn as one clean path on a 256-unit grid in six weights. It is free for personal and commercial use under the MIT license.

File Diff icon, thin weight
Thin
SVG
File Diff icon, light weight
Light
SVG
File Diff icon, regular weight
Regular
SVG
File Diff icon, bold weight
Bold
SVG
File Diff icon, fill weight
Fill
SVG
File Diff icon, duotone weight
Duotone
SVG

Open in the icon browserCustomize size and color, then download PNG, WebP or PDF.

About the file diff icon

It is a diff variant of the file icon, so it keeps the exact outline of the file icon. Use it to stand for diff, compare and changes. The regular weight is a single path made of 5 shapes, and the duotone weight adds a 20% tint behind the outline.

Pairs well with the git compare, a b test and greater than icons, which share the “diff” theme. Use the same weight for all of them so they read as one set.

When to use the file diff icon

It belongs to the files set, made for documents, folders, file types and storage. Pair it with the related icons below so a screen stays in one visual style.

Use the file diff icon in your code

React

import { FileDiff } from '@icon-monks/react';

<FileDiff size={24} />

Vue

<script setup>
import { FileDiff } from '@icon-monks/vue';
</script>

<FileDiff :size="24" />

Web component

<icon-monks name="file-diff" size="24"></icon-monks>

Icon font

<i class="im im-file-diff"></i>

Flutter

Icon(IconMonks.fileDiff)

SwiftUI

Image(iconMonks: .fileDiff)

Compose

import com.designmonks.icons.IconMonks
import com.designmonks.icons.regular.FileDiff

Icon(IconMonks.Regular.FileDiff, contentDescription = null)

Need setup steps? See the getting started guide or the page for React, Flutter, SwiftUI or Jetpack Compose.

Tags

Related files icons

See all 247 files icons

Similar icons in other categories

Questions about the file diff icon

Is the file diff icon free for commercial use?

Yes. The file diff icon is released under the MIT license, so you can use it in personal, client and commercial projects without paying or adding credit in your interface.

How do I change the color and size of the file diff icon?

The icon draws in currentColor, so it takes the text color around it. In React, Vue and the web component, set the size and color props; in the icon browser, pick a color and size before you download a PNG, WebP, SVG or PDF.

What is the difference between the file diff and file icons?

The file diff icon is a diff variant of the file icon. Both share the same outline and come in all six weights, so you can swap one for the other to show a change of state.

Last updated with version 0.4.3. Release notes