ICONYZ
English
Diff icon from File Icons

Diff icon

file-icons:diff

The Diff icon (file-icons:diff) is a free SVG icon from the File Icons set by John Gardner. It is drawn on a 512 × 512 grid. File Icons are released under the ISC 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
File Icons
Author
John Gardner
License
ISC
Size
512 × 512
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path fill="currentColor" d="M296.892 0v270.811l48.59 130.898h32.528c11.065-17.099 30.29-28.424 52.173-28.424c34.306 0 62.117 27.81 62.117 62.117s-27.81 62.116-62.117 62.116c-20.747 0-39.105-10.18-50.386-25.809h-82.905V512H512V0zM482.1 124.93h-62.654v62.653h-30v-62.654h-62.654v-30h62.654V32.275h30V94.93H482.1zM81.31 20c21.672 0 40.742 11.106 51.856 27.93h67.968V0H0v512h201.135V213.996l-35.66-96.067H132.05c-11.248 15.908-29.773 26.304-50.738 26.304c-34.306 0-62.117-27.81-62.117-62.116S47.004 20 81.311 20m-47.77 401.709h134.054v30H33.54zm433.312 13.693c0 20.252-16.418 36.67-36.67 36.67c-14.392 0-26.84-8.296-32.844-20.363h-86.631L179.385 97.929h-64.982c-5.905 12.336-18.503 20.857-33.092 20.857c-20.252 0-36.67-16.417-36.67-36.67c0-20.251 16.418-36.669 36.67-36.669c15.222 0 28.275 9.276 33.822 22.482h85.116l131.322 353.78h64.595c5.427-13.467 18.607-22.977 34.017-22.977c20.252 0 36.67 16.418 36.67 36.67"/></svg>

How to use the Diff icon

React

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

<Icon icon="file-icons:diff" width="24" />

Vue

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

<template>
  <Icon icon="file-icons:diff" width="24" />
</template>

Svelte

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

<Icon icon="file-icons:diff" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="file-icons:diff"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/file-icons/diff.svg" alt="Diff icon" width="24" height="24">

Diff icon in other icon sets

Diff icon FAQ

Is the Diff icon free for commercial use?

Yes. File Icons are released under the ISC license, which allows use in personal and commercial projects.

How do I use the Diff icon in React?

Install @iconify/react and render <Icon icon="file-icons:diff" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Diff icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/file-icons/diff.svg" alt="Diff icon">, or paste the SVG code inline to style it with CSS.

Browse all File Icons →