ICONYZ
English
Github icon from TopCoat Icons

Github icon

topcoat:github

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

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="42" height="42" viewBox="0 0 42 42"><path fill="currentColor" d="M21 1C9.954 1 1 9.954 1 21s8.954 20 20 20s20-8.954 20-20S32.046 1 21 1m0 2.178c9.843 0 17.822 7.979 17.822 17.822S30.843 38.822 21 38.822S3.178 30.843 3.178 21S11.157 3.178 21 3.178m-8.846 5.219c-.507 1.476-.684 3.077-.229 4.476a6.7 6.7 0 0 0-1.279 2.1c-.812 2.566-.614 5.848 1.164 7.832q.939 1.028 2.539 1.689c1.6.661 2.438.723 4.113.844c-1.125.526-1.918.848-2.194 2.01c-1.255.838-2.78.639-3.887-.272c-.874-.64-1.271-1.771-2.239-2.192c-.061-.062-.251-.105-.57-.137q-.48-.047-.755.273q-.138.135.022.295c.732.597 1.439 1.229 1.853 1.986c.396.822.942 1.318 1.37 1.699c1.184.8 2.735 1.086 4.125.578c-.162.979.173 2.74-.148 3.613a1.9 1.9 0 0 1-.525.641c-.203.199-.835.447-.707.752q.09.205.639.252c.806-.021 1.719-.348 2.191-.982c.168-.229.363-.526.363-.891v-3.742c0-.427.156-.729.339-.914c.183-.182.349-.322.661-.365v4.933c0 .426-.523 1.614-.586 1.735c-.139.236-.45.451-.456.729c0 .093.033.146.14.159a2.08 2.08 0 0 0 1.784-1.165c.415-.63.509-1.005.618-1.733V28h1v4.6c0 .608-.1 1.187.175 1.732c.274.549 1.114.9 1.753 1.053c.336.092.504.127.625.112c.122-.015.146-.067.131-.159c-.072-.275-.463-.513-.625-.729c-.213-.275-.559-.853-.559-1.736v-4.932c.328.074.463.184.662.365c.197.184.338.488.338.915v3.742c0 .365.264.662.432.891c.51.648 1.367.978 2.17.982c.365-.031.623-.115.685-.252s.038-.25-.114-.342s-.331-.229-.561-.41a1.9 1.9 0 0 1-.52-.641c-.137-1.569-.001-3.252-.111-4.84c-.219-1.732-.885-2.304-2.215-2.968q2.38-.181 3.908-.868c3.053-1.482 3.896-3.775 3.91-6.849c-.049-1.979-.619-3.703-1.922-5.025a6.2 6.2 0 0 0 .161-2.189a7.5 7.5 0 0 0-.481-2.056q-1.69.091-2.834.684c-1.144.593-1.311.731-1.646 1.006c-2.699-.613-5.59-.616-8.18.091a8 8 0 0 0-4.528-1.78"/></svg>

How to use the Github icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

<img src="https://icons.sys.karaztherapy.ma/api/public/svg/topcoat/github.svg" alt="Github icon" width="24" height="24">

Related icons in TopCoat Icons

Github icon in other icon sets

Github icon FAQ

Is the Github icon free for commercial use?

Yes. TopCoat 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="topcoat: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://icons.sys.karaztherapy.ma/api/public/svg/topcoat/github.svg" alt="Github icon">, or paste the SVG code inline to style it with CSS.

Browse all TopCoat Icons →