Diff Added icon
codicon:diff-added
The Diff Added icon (codicon:diff-added) 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
- diffadded
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M11.5 1h-8A2.503 2.503 0 0 0 1 3.5v8C1 12.878 2.122 14 3.5 14h8c1.378 0 2.5-1.122 2.5-2.5v-8C14 2.122 12.878 1 11.5 1M13 11.5c0 .827-.673 1.5-1.5 1.5h-8c-.827 0-1.5-.673-1.5-1.5v-8C2 2.673 2.673 2 3.5 2h8c.827 0 1.5.673 1.5 1.5zm-2-4a.5.5 0 0 1-.5.5H8v2.5a.5.5 0 0 1-1 0V8H4.5a.5.5 0 0 1 0-1H7V4.5a.5.5 0 0 1 1 0V7h2.5a.5.5 0 0 1 .5.5"/></svg>How to use the Diff Added icon
React
import { Icon } from "@iconify/react";
<Icon icon="codicon:diff-added" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="codicon:diff-added" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="codicon:diff-added" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[codicon--diff-added]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/codicon -->
<div class="i-codicon:diff-added"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="codicon:diff-added"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/codicon/diff-added.svg" alt="Diff Added icon" width="24" height="24">Related icons in Codicons
Diff Added icon FAQ
Is the Diff Added 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 Added icon in React?
Install @iconify/react and render <Icon icon="codicon:diff-added" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Diff Added icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/codicon/diff-added.svg" alt="Diff Added icon">, or paste the SVG code inline to style it with CSS.