Git icon
pajamas:git
The Git icon (pajamas:git) is a free SVG icon from the Gitlab SVGs set by GitLab B.V.. It is drawn on a 24 × 24 grid. Gitlab SVGs 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
- Gitlab SVGs
- Author
- GitLab B.V.
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M15.698 7.287L8.712.302a1.03 1.03 0 0 0-1.457 0l-1.45 1.45l1.84 1.84a1.223 1.223 0 0 1 1.55 1.56l1.773 1.774a1.224 1.224 0 0 1 1.267 2.025a1.226 1.226 0 0 1-2.001-1.334L8.579 5.963v4.353q.177.085.324.231a1.226 1.226 0 1 1-1.332-.267V5.887a1.226 1.226 0 0 1-.666-1.608L5.093 2.465l-4.79 4.79a1.03 1.03 0 0 0 0 1.457l6.986 6.986a1.03 1.03 0 0 0 1.457 0l6.953-6.953a1.03 1.03 0 0 0 0-1.458"/></svg>How to use the Git icon
React
import { Icon } from "@iconify/react";
<Icon icon="pajamas:git" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="pajamas:git" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="pajamas:git" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[pajamas--git]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/pajamas -->
<div class="i-pajamas:git"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="pajamas:git"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/pajamas/git.svg" alt="Git icon" width="24" height="24">Related icons in Gitlab SVGs
Git icon in other icon sets
Git icon FAQ
Is the Git icon free for commercial use?
Yes. Gitlab SVGs icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Git icon in React?
Install @iconify/react and render <Icon icon="pajamas:git" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Git icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/pajamas/git.svg" alt="Git icon">, or paste the SVG code inline to style it with CSS.