Source Control icon
codicon:source-control
The Source Control icon (codicon:source-control) 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
- sourcecontrol
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M21 8.25a3.753 3.753 0 0 0-3.75-3.75a3.753 3.753 0 0 0-3.75 3.75a3.75 3.75 0 0 0 2.895 3.642A2.25 2.25 0 0 1 14.25 13.5h-4.5c-.848 0-1.621.293-2.25.768V7.423c1.71-.348 3-1.862 3-3.673A3.753 3.753 0 0 0 6.75 0A3.753 3.753 0 0 0 3 3.75a3.754 3.754 0 0 0 3 3.673v9.152c-1.71.348-3 1.863-3 3.674a3.753 3.753 0 0 0 3.75 3.75a3.753 3.753 0 0 0 3.75-3.75a3.75 3.75 0 0 0-2.895-3.642a2.25 2.25 0 0 1 2.145-1.608h4.5a3.75 3.75 0 0 0 3.681-3.07A3.75 3.75 0 0 0 21 8.25M4.5 3.75c0-1.24 1.01-2.25 2.25-2.25S9 2.51 9 3.75S7.99 6 6.75 6S4.5 4.99 4.5 3.75M9 20.25c0 1.24-1.01 2.25-2.25 2.25S4.5 21.49 4.5 20.25S5.51 18 6.75 18S9 19.01 9 20.25m8.25-9.75C16.01 10.5 15 9.49 15 8.25S16.01 6 17.25 6s2.25 1.01 2.25 2.25s-1.01 2.25-2.25 2.25"/></svg>How to use the Source Control icon
React
import { Icon } from "@iconify/react";
<Icon icon="codicon:source-control" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="codicon:source-control" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="codicon:source-control" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[codicon--source-control]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/codicon -->
<div class="i-codicon:source-control"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="codicon:source-control"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/codicon/source-control.svg" alt="Source Control icon" width="24" height="24">Source Control icon in other icon sets
Source Control icon FAQ
Is the Source Control 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 Source Control icon in React?
Install @iconify/react and render <Icon icon="codicon:source-control" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Source Control icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/codicon/source-control.svg" alt="Source Control icon">, or paste the SVG code inline to style it with CSS.