Diff icon
material-icon-theme:diff
The Diff icon (material-icon-theme:diff) is a free SVG icon from the Material Icon Theme set by Material Extensions. It is drawn on a 24 × 24 grid. Material Icon Theme 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
- Material Icon Theme
- Author
- Material Extensions
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path d="M0 0h24v24H0z"/><path fill="#42a5f5" d="M18 23H4c-1.1 0-2-.9-2-2V7h2v14h14zM14.5 7V5h-2v2h-2v2h2v2h2V9h2V7zm2 6h-6v2h6zM15 1H8c-1.1 0-1.99.9-1.99 2L6 17c0 1.1.89 2 1.99 2H19c1.1 0 2-.9 2-2V7zm4 16H8V3h6.17L19 7.83z"/></g></svg>How to use the Diff icon
React
import { Icon } from "@iconify/react";
<Icon icon="material-icon-theme:diff" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="material-icon-theme:diff" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="material-icon-theme:diff" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[material-icon-theme--diff]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/material-icon-theme -->
<div class="i-material-icon-theme:diff"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="material-icon-theme:diff"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/material-icon-theme/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. Material Icon Theme icons are released under the MIT 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="material-icon-theme: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/material-icon-theme/diff.svg" alt="Diff icon">, or paste the SVG code inline to style it with CSS.