ICONYZ
English
Github icon from Bootstrap Icons

Github icon

bi:github

The Github icon (bi:github) is a free SVG icon from the Bootstrap Icons set by The Bootstrap Authors. It is drawn on a 24 × 24 grid. Bootstrap 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
Bootstrap Icons
Author
The Bootstrap Authors
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="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59c.4.07.55-.17.55-.38c0-.19-.01-.82-.01-1.49c-2.01.37-2.53-.49-2.69-.94c-.09-.23-.48-.94-.82-1.13c-.28-.15-.68-.52-.01-.53c.63-.01 1.08.58 1.23.82c.72 1.21 1.87.87 2.33.66c.07-.52.28-.87.51-1.07c-1.78-.2-3.64-.89-3.64-3.95c0-.87.31-1.59.82-2.15c-.08-.2-.36-1.02.08-2.12c0 0 .67-.21 2.2.82c.64-.18 1.32-.27 2-.27s1.36.09 2 .27c1.53-1.04 2.2-.82 2.2-.82c.44 1.1.16 1.92.08 2.12c.51.56.82 1.27.82 2.15c0 3.07-1.87 3.75-3.65 3.95c.29.25.54.73.54 1.48c0 1.07-.01 1.93-.01 2.2c0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8"/></svg>

How to use the Github icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Browse all Bootstrap Icons →