Github icon
uim:github
The Github icon (uim:github) is a free SVG icon from the Unicons Monochrome set by Iconscout. It is drawn on a 24 × 24 grid. Unicons Monochrome icons are released under the Apache 2.0 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
- Unicons Monochrome
- Author
- Iconscout
- License
- Apache-2.0
- Size
- 24 × 24
- Category
- Brand Logos
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M8.854 21.57a9.9 9.9 0 0 0 6.29.001a.493.493 0 0 1-.644-.475c0-.338.013-1.413.013-2.75a2.37 2.37 0 0 0-.675-1.85c2.225-.25 4.562-1.1 4.562-4.938a3.87 3.87 0 0 0-1.025-2.687a3.6 3.6 0 0 0-.1-2.65s-.838-.275-2.75 1.025a9.43 9.43 0 0 0-5 0C7.612 5.958 6.775 6.22 6.775 6.22a3.6 3.6 0 0 0-.1 2.65a3.9 3.9 0 0 0-1.025 2.687c0 3.825 2.325 4.688 4.55 4.938a2.1 2.1 0 0 0-.638 1.337a2.137 2.137 0 0 1-2.91-.82l-.002-.005a2 2 0 0 0-1.538-1.025c-.837.013-.337.475.013.663c.451.38.803.865 1.025 1.412c.2.563.85 1.638 3.362 1.175c0 .838.013 1.625.013 1.863c0 .259-.185.551-.67.475z" opacity=".5"/><path fill="currentColor" d="M12 2.083c-5.523 0-10 4.477-10 10c0 4.423 2.875 8.169 6.855 9.488c.485.075.67-.216.67-.475c0-.238-.012-1.025-.012-1.863c-2.513.463-3.163-.612-3.363-1.175a3.64 3.64 0 0 0-1.025-1.412c-.35-.188-.85-.65-.013-.663a2 2 0 0 1 1.538 1.025l.003.006a2.137 2.137 0 0 0 2.91.82c.043-.51.27-.984.637-1.338c-2.225-.25-4.55-1.113-4.55-4.938a3.9 3.9 0 0 1 1.025-2.687a3.6 3.6 0 0 1 .1-2.65s.837-.263 2.75 1.025a9.43 9.43 0 0 1 5 0c1.912-1.3 2.75-1.025 2.75-1.025c.37.838.406 1.786.1 2.65a3.87 3.87 0 0 1 1.025 2.687c0 3.838-2.338 4.688-4.562 4.938c.482.49.729 1.164.675 1.85c0 1.337-.013 2.412-.013 2.75a.493.493 0 0 0 .643.476C19.124 20.253 22 16.507 22 12.083c0-5.523-4.477-10-10-10"/></svg>How to use the Github icon
React
import { Icon } from "@iconify/react";
<Icon icon="uim:github" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="uim:github" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="uim:github" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[uim--github]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/uim -->
<div class="i-uim:github"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="uim:github"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/uim/github.svg" alt="Github icon" width="24" height="24">Related icons in Unicons Monochrome
Github icon in other icon sets
Github icon FAQ
Is the Github icon free for commercial use?
Yes. Unicons Monochrome icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Github icon in React?
Install @iconify/react and render <Icon icon="uim:github" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Github icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/uim/github.svg" alt="Github icon">, or paste the SVG code inline to style it with CSS.