ICONYZ
English
Diff Single icon from Codicons

Diff Single icon

codicon:diff-single

The Diff Single icon (codicon:diff-single) is a free SVG icon from the Codicons set by Microsoft Corporation. It is drawn on a 24 × 24 grid. Codicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Codicons
Author
Microsoft Corporation
License
CC-BY-4.0
Size
24 × 24
Tags
diffsingle
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12.561 4.354L9.647 1.44a1.5 1.5 0 0 0-1.061-.439H4c-1.103 0-2 .897-2 2v10c0 1.103.897 2 2 2h7c1.103 0 2-.897 2-2V5.415c0-.395-.16-.781-.439-1.061M12 13a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h4.586c.132 0 .261.054.354.146l2.914 2.914a.5.5 0 0 1 .146.354zm-2-6.5a.5.5 0 0 1-.5.5H8v1.5a.5.5 0 0 1-1 0V7H5.5a.5.5 0 0 1 0-1H7V4.5a.5.5 0 0 1 1 0V6h1.5a.5.5 0 0 1 .5.5m0 5a.5.5 0 0 1-.5.5h-4a.5.5 0 0 1 0-1h4a.5.5 0 0 1 .5.5"/></svg>

How to use the Diff Single icon

React

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

<Icon icon="codicon:diff-single" width="24" />

Vue

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

<template>
  <Icon icon="codicon:diff-single" width="24" />
</template>

Svelte

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

<Icon icon="codicon:diff-single" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="codicon:diff-single"></iconify-icon>

HTML image

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

Related icons in Codicons

Diff Single icon FAQ

Is the Diff Single icon free for commercial use?

Yes. Codicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Diff Single icon in React?

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

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

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

Browse all Codicons →