ICONYZ
English
Github icon from OpenMoji

Github icon

openmoji:github

The Github icon (openmoji:github) is a free SVG icon from the OpenMoji set. It is drawn on a 72 × 72 grid. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
OpenMoji
Author
OpenMoji
License
CC-BY-SA-4.0
Size
72 × 72
Category
Extras Openmoji
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="72" height="72" viewBox="0 0 72 72"><path fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M27.114 62.986s9.17 2.923 17.927-.041"/><circle cx="35.9" cy="35.898" r="27.226" fill="#fff"/><path fill="#d0cfce" d="M29.044 61.611c0-.927-.035-3.98-.035-7.764c0-2.646.874-4.373 1.863-5.252c-6.227-.722-12.779-3.154-12.779-14.035c0-3.098 1.096-5.632 2.887-7.615c-.286-.72-1.254-3.606.278-7.514c0 0 2.355-.764 7.717 2.908a26.45 26.45 0 0 1 14.053 0c5.356-3.672 7.711-2.908 7.711-2.908c1.532 3.908.57 6.795.278 7.514c1.796 1.983 2.881 4.514 2.881 7.615c0 10.905-6.559 13.307-12.816 14.008c1.013.882 1.909 2.611 1.909 5.263c0 3.792-.035 6.85-.035 7.78c0 .762.505 1.641 1.93 1.369c11.146-3.758 19.177-14.396 19.177-26.932c0-15.678-12.567-28.388-28.067-28.388S7.936 20.367 7.936 36.048c0 12.541 8.04 23.182 19.202 26.934c1.395.262 1.906-.614 1.906-1.37"/><g fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M29.044 61.611c0-.927-.035-3.98-.035-7.764c0-2.646.874-4.373 1.863-5.252c-6.227-.722-12.779-3.154-12.779-14.035c0-3.098 1.096-5.632 2.887-7.615c-.286-.72-1.254-3.606.278-7.514c0 0 2.355-.764 7.717 2.908a26.45 26.45 0 0 1 14.053 0c5.356-3.672 7.711-2.908 7.711-2.908c1.532 3.908.57 6.795.278 7.514c1.796 1.983 2.881 4.514 2.881 7.615c0 10.905-6.559 13.307-12.816 14.008c1.013.882 1.909 2.611 1.909 5.263c0 3.792-.035 6.85-.035 7.78c0 .762.505 1.641 1.93 1.369c11.146-3.758 19.177-14.396 19.177-26.932c0-15.678-12.567-28.388-28.067-28.388S7.936 20.367 7.936 36.048c0 12.541 8.04 23.182 19.202 26.934c1.395.262 1.906-.614 1.906-1.37"/><path d="M16.29 48.09c2.568.78 3.58 1.635 4.789 3.661c1.205 2.026 2.62 4.287 7.933 2.999"/></g></svg>

How to use the Github icon

React

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

<Icon icon="openmoji:github" width="24" />

Vue

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

<template>
  <Icon icon="openmoji:github" width="24" />
</template>

Svelte

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

<Icon icon="openmoji:github" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[openmoji--github]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/openmoji -->
<div class="i-openmoji:github"></div>

Web component

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

<iconify-icon icon="openmoji:github"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/openmoji/github.svg" alt="Github icon" width="24" height="24">

Github icon in other icon sets

Github icon FAQ

Is the Github icon free for commercial use?

Yes. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.

How do I use the Github icon in React?

Install @iconify/react and render <Icon icon="openmoji: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/openmoji/github.svg" alt="Github icon">, or paste the SVG code inline to style it with CSS.

Browse all OpenMoji icons →