File Diff icon
andrsrxn:file-diff
The File Diff icon (andrsrxn:file-diff) is a free SVG icon from the andrsrxn/icons set by Andrés Raxón. It is drawn on a 24 × 24 grid. andrsrxn/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
- andrsrxn/icons
- Author
- Andrés Raxón
- License
- MIT
- Size
- 24 × 24
- Category
- Development, Documents
- Tags
- filediff
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path fill="currentColor" d="M7.8 22.23c-1.9 0-2.83 0-3.42-.59c-.59-.58-.59-1.53-.59-3.41V5.73c0-1.86 0-2.8.58-3.38s1.51-.6 3.38-.61L10 1.7c1.3-.01 1.97-.02 2.45.27q.42.26.68.67c.3.48.3 1.14.3 2.45c0 1.3 0 1.95.28 2.43q.26.42.67.67c.48.3 1.13.3 2.43.3s1.96 0 2.44.29q.41.26.66.66c.3.48.3 1.13.3 2.44v6.34c0 1.88 0 2.83-.59 3.41s-1.53.59-3.41.59z" opacity=".2"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M3.8 7.78v8.45c0 2.83 0 4.24.87 5.12c.88.88 2.3.88 5.12.88h4.42c2.82 0 4.24 0 5.12-.88s.88-2.3.88-5.12v-6c0-1.25 0-1.88-.24-2.44s-.68-1-1.58-1.86l-1.18-1.16l-1.25-1.24c-.86-.87-1.3-1.3-1.85-1.53s-1.16-.22-2.38-.22H9.79c-2.82 0-4.24 0-5.12.87c-.88.88-.88 2.3-.88 5.13"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M13.22 2.3v2.46c0 1.89 0 2.83.58 3.42c.59.58 1.53.58 3.42.58h2.47m-7.66 1.82v5.63M9.2 13.39h5.64m-5.64 5.7h5.64"/></g></svg>How to use the File Diff icon
React
import { Icon } from "@iconify/react";
<Icon icon="andrsrxn:file-diff" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="andrsrxn:file-diff" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="andrsrxn:file-diff" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[andrsrxn--file-diff]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/andrsrxn -->
<div class="i-andrsrxn:file-diff"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="andrsrxn:file-diff"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/andrsrxn/file-diff.svg" alt="File Diff icon" width="24" height="24">Related icons in andrsrxn/icons
File Diff icon in other icon sets
File Diff icon FAQ
Is the File Diff icon free for commercial use?
Yes. andrsrxn/icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the File Diff icon in React?
Install @iconify/react and render <Icon icon="andrsrxn:file-diff" />, or use “Copy code” on this page to get a standalone React component.
How do I add the File Diff icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/andrsrxn/file-diff.svg" alt="File Diff icon">, or paste the SVG code inline to style it with CSS.