ICONYZ
English
Github icon from CoreUI Brands

Github icon

cib:github

The Github icon (cib:github) is a free SVG icon from the CoreUI Brands set by creativeLabs Łukasz Holeczek. It is drawn on a 32 × 32 grid. CoreUI Brands icons are released under the CC0 1.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
CoreUI Brands
Author
creativeLabs Łukasz Holeczek
License
CC0-1.0
Size
32 × 32
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="M16 .396c-8.839 0-16 7.167-16 16c0 7.073 4.584 13.068 10.937 15.183c.803.151 1.093-.344 1.093-.772c0-.38-.009-1.385-.015-2.719c-4.453.964-5.391-2.151-5.391-2.151c-.729-1.844-1.781-2.339-1.781-2.339c-1.448-.989.115-.968.115-.968c1.604.109 2.448 1.645 2.448 1.645c1.427 2.448 3.744 1.74 4.661 1.328c.14-1.031.557-1.74 1.011-2.135c-3.552-.401-7.287-1.776-7.287-7.907c0-1.751.62-3.177 1.645-4.297c-.177-.401-.719-2.031.141-4.235c0 0 1.339-.427 4.4 1.641a15.4 15.4 0 0 1 4-.541c1.36.009 2.719.187 4 .541c3.043-2.068 4.381-1.641 4.381-1.641c.859 2.204.317 3.833.161 4.235c1.015 1.12 1.635 2.547 1.635 4.297c0 6.145-3.74 7.5-7.296 7.891c.556.479 1.077 1.464 1.077 2.959c0 2.14-.02 3.864-.02 4.385c0 .416.28.916 1.104.755c6.4-2.093 10.979-8.093 10.979-15.156c0-8.833-7.161-16-16-16z"/></svg>

How to use the Github icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

<img src="https://iconyz.com/api/public/svg/cib/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. CoreUI Brands icons are released under the CC0 1.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="cib: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/cib/github.svg" alt="Github icon">, or paste the SVG code inline to style it with CSS.

Browse all CoreUI Brands icons →