Github icon
proicons:github
The Github icon (proicons:github) is a free SVG icon from the ProIcons set by ProCode. It is drawn on a 24 × 24 grid. ProIcons 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="M9.096 21.25v-3.146a3.33 3.33 0 0 1 .758-2.115c-3.005-.4-5.28-1.859-5.28-5.798c0-1.666 1.432-3.89 1.432-3.89c-.514-1.13-.5-3.084.06-3.551c0 0 1.95.175 3.847 1.75c1.838-.495 3.764-.554 5.661 0c1.897-1.575 3.848-1.75 3.848-1.75c.558.467.573 2.422.06 3.551c0 0 1.432 2.224 1.432 3.89c0 3.94-2.276 5.398-5.28 5.798a3.33 3.33 0 0 1 .757 2.115v3.146"/><path d="M3.086 16.57c.163.554.463 1.066.878 1.496c.414.431.932.77 1.513.988a4.46 4.46 0 0 0 3.62-.216"/></g></svg>How to use the Github icon
React
import { Icon } from "@iconify/react";
<Icon icon="proicons:github" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="proicons:github" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="proicons:github" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[proicons--github]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/proicons -->
<div class="i-proicons:github"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="proicons:github"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/proicons/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. ProIcons are released under the MIT 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="proicons: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/proicons/github.svg" alt="Github icon">, or paste the SVG code inline to style it with CSS.