Github icon
il:github
The Github icon (il:github) is a free SVG icon from the Icalicons set by Icalia Labs. It is drawn on a 760 × 800 grid. Icalicons 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
- Icalicons
- Author
- Icalia Labs
- License
- MIT
- Size
- 760 × 800
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="760" height="800" viewBox="0 0 760 800"><path fill="currentColor" d="M510 383q23 0 39 21t15 53t-15 52t-39 22t-38-22t-16-52t16-53t38-21m186-193q29 31 46 69t16 90q0 74-18 125t-48 84t-64 52t-70 28t-64 10l-44 2H308q-15 0-44-2t-63-10t-70-28t-65-52t-47-84T0 349q0-51 17-90t45-69q-3-6-3-24t1-42t9-56T88 8q22 3 51 14q25 9 59 25t77 46q18-5 46-8t58-2l58 2q28 1 46 8q42-29 77-46t59-25q29-11 51-14q12 30 19 60t9 56t2 42t-4 24M380 614q58 0 109-6t88-23t59-51t21-90q0-27-10-52t-33-45q-19-18-44-24t-56-5t-64 4t-70 3h-2q-36 0-70-3t-64-4t-55 5t-44 24q-23 20-33 45t-11 52q0 57 22 90t58 51t88 23t109 6zM248 383q23 0 39 21t15 53t-15 52t-39 22t-38-22t-16-52t16-53t38-21"/></svg>How to use the Github icon
React
import { Icon } from "@iconify/react";
<Icon icon="il:github" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="il:github" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="il:github" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[il--github]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/il -->
<div class="i-il:github"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="il:github"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/il/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. Icalicons 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="il: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/il/github.svg" alt="Github icon">, or paste the SVG code inline to style it with CSS.