ICONYZ
English
Github icon from Mage Icons

Github icon

mage:github

The Github icon (mage:github) is a free SVG icon from the Mage Icons set by MageIcons. It is drawn on a 24 × 24 grid. Mage 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
Mage Icons
Author
MageIcons
License
Apache-2.0
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M11.963 2.382C.554 2.621-1.82 17.93 8.852 21.602c.498.093.684-.219.684-.478v-1.68c-2.79.601-3.38-1.317-3.38-1.317a2.6 2.6 0 0 0-1.121-1.442c-.902-.612.072-.602.072-.602a2.07 2.07 0 0 1 1.536 1.038a2.167 2.167 0 0 0 2.924.819c.052-.5.275-.965.633-1.317c-2.23-.25-4.564-1.1-4.564-4.875a3.76 3.76 0 0 1 1.038-2.645a3.46 3.46 0 0 1 .103-2.634s.84-.26 2.76 1.037a9.6 9.6 0 0 1 5.02 0c1.908-1.276 2.748-1.038 2.748-1.038c.365.828.398 1.763.093 2.614a3.75 3.75 0 0 1 1.037 2.645c0 3.786-2.344 4.626-4.574 4.865c1.038.55.602 4.086.664 4.522c0 .259.176.57.695.477c10.642-3.64 8.152-18.97-3.257-19.209"/></svg>

How to use the Github icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

<img src="https://iconyz.com/api/public/svg/mage/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. Mage 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="mage: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/mage/github.svg" alt="Github icon">, or paste the SVG code inline to style it with CSS.

Browse all Mage Icons →