Git Diff icon
andrsrxn:git-diff
The Git Diff icon (andrsrxn:git-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
- Tags
- gitdiff
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M13.8 5.71h.44c1.88 0 2.83 0 3.41.59c.59.58.59 1.53.59 3.41v5.58m-8.14 3h-.34c-1.88 0-2.83 0-3.41-.59c-.59-.58-.59-1.53-.59-3.41V8.7"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M15.06 3.2c-1.03 1.02-1.55 1.54-1.66 2.16a2 2 0 0 0 0 .7c.11.62.63 1.13 1.66 2.17M8.95 20.8c1.03-1.02 1.54-1.54 1.65-2.16a2 2 0 0 0 0-.7c-.1-.62-.62-1.13-1.65-2.17"/><circle cx="5.96" cy="5.63" r="3.07" fill="currentColor" opacity=".2"/><circle cx="18.04" cy="18.37" r="3.07" fill="currentColor" opacity=".2"/><circle cx="5.96" cy="5.63" r="3.07" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/><circle cx="18.04" cy="18.37" r="3.07" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/></g></svg>How to use the Git Diff icon
React
import { Icon } from "@iconify/react";
<Icon icon="andrsrxn:git-diff" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="andrsrxn:git-diff" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="andrsrxn:git-diff" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[andrsrxn--git-diff]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/andrsrxn -->
<div class="i-andrsrxn:git-diff"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="andrsrxn:git-diff"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/andrsrxn/git-diff.svg" alt="Git Diff icon" width="24" height="24">Related icons in andrsrxn/icons
Git Diff icon in other icon sets
Git Diff icon FAQ
Is the Git 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 Git Diff icon in React?
Install @iconify/react and render <Icon icon="andrsrxn:git-diff" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Git Diff icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/andrsrxn/git-diff.svg" alt="Git Diff icon">, or paste the SVG code inline to style it with CSS.