ICONYZ
English
Github icon from Griddy Icons

Github icon

griddy-icons:github

The Github icon (griddy-icons:github) is a free SVG icon from the Griddy Icons set by Zuzana Benova. It is drawn on a 24 × 24 grid. Griddy Icons 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
Griddy Icons
Author
Zuzana Benova
License
MIT
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="M21 10.955c0-1.84-.385-3.275-1.17-4.375c.4-2.655-.34-4.045-.425-4.2l-.265-.46l-.52.095c-.09.015-2.14.405-3.925 2.09c-.895-.09-1.82-.1-2.69-.1s-1.795.015-2.69.1C7.53 2.42 5.48 2.03 5.39 2.015l-.52-.095l-.265.46c-.09.155-.825 1.545-.425 4.2c-.79 1.1-1.17 2.54-1.17 4.375c0 4.24 2.84 5.73 5.45 6.255a3.8 3.8 0 0 0-.445 1.68c-.22.155-.59.36-1.005.36c-.615 0-.985-.42-1.545-1.1c-.6-.735-1.35-1.65-2.705-1.65h-.75V18h.75c.615 0 .985.42 1.545 1.1c.6.735 1.35 1.65 2.705 1.65c.37 0 .705-.075 1-.185V22h1.5v-3.005c0-.585.225-1.13.625-1.55c.75.06 1.41.06 1.875.06s1.12 0 1.875-.06c.4.42.625.97.625 1.55V22h1.5v-3.005c0-.63-.155-1.24-.45-1.78c2.605-.525 5.45-2.02 5.45-6.255zM12 16c-5.255 0-7.5-1.51-7.5-5.045c0-1.635.34-2.85 1.045-3.705l.22-.27l-.06-.34c-.255-1.43-.125-2.425.015-2.985c.675.23 1.8.735 2.78 1.75l.26.27l.37-.045c.925-.115 1.925-.13 2.87-.13s1.945.015 2.87.13l.37.045l.26-.27c.97-1.005 2.105-1.515 2.78-1.745c.14.565.27 1.56.015 2.985l-.06.34l.22.27c.7.855 1.045 2.065 1.045 3.705c0 3.535-2.245 5.045-7.5 5.045z"/></svg>

How to use the Github icon

React

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

<Icon icon="griddy-icons:github" width="24" />

Vue

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

<template>
  <Icon icon="griddy-icons:github" width="24" />
</template>

Svelte

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

<Icon icon="griddy-icons:github" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="griddy-icons:github"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/griddy-icons/github.svg" alt="Github icon" width="24" height="24">

Related icons in Griddy Icons

Github icon in other icon sets

Github icon FAQ

Is the Github icon free for commercial use?

Yes. Griddy Icons 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="griddy-icons: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/griddy-icons/github.svg" alt="Github icon">, or paste the SVG code inline to style it with CSS.

Browse all Griddy Icons →