Github icon
whh:github
The Github icon (whh:github) is a free SVG icon from the WebHostingHub Glyphs set by WebHostingHub. It is drawn on a 1024 × 832 grid. WebHostingHub Glyphs icons are released under the Open Font 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
- WebHostingHub Glyphs
- Author
- WebHostingHub
- License
- OFL-1.1
- Size
- 1024 × 832
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="832" viewBox="0 0 1024 832"><path fill="currentColor" d="M1024 416q0 111-26 187t-86 128.5T754 808t-242 24t-242-24t-158-76.5T26 603T0 416q0-149 78-231Q64 83 64 32q0-13 9.5-22.5T96 0q12 0 84 33t98 52q98-21 234-21q118 0 209 16q31-20 97.5-50T896 0q13 0 22.5 9.5T928 32q0 35-10 127q106 83 106 257M512 256q-20 0-58-1q-46-2-88 .5t-78.5 7.5t-66 22t-50 44t-32 73T128 512q0 122 97.5 189T512 768t286.5-67T896 512q0-64-11.5-110t-32-73t-50-44t-66-22t-78.5-7.5t-88-.5q-38 1-58 1m192 320q-27 0-45.5-28T640 480t19-68t45-28t45 28t19 68t-18.5 68t-45.5 28M544 704h-64q-13 0-22.5-9.5T448 672t9.5-22.5T480 640h64q13 0 22.5 9.5T576 672t-9.5 22.5T544 704M320.5 576q-26.5 0-45.5-28t-19-68t19-68t45.5-28t45 28t18.5 68t-18.5 68t-45 28"/></svg>How to use the Github icon
React
import { Icon } from "@iconify/react";
<Icon icon="whh:github" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="whh:github" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="whh:github" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[whh--github]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/whh -->
<div class="i-whh:github"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="whh:github"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/whh/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. WebHostingHub Glyphs icons are released under the Open Font 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="whh: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/whh/github.svg" alt="Github icon">, or paste the SVG code inline to style it with CSS.