Github icon
bxl:github
The Github icon (bxl:github) is a free SVG icon from the Boxicons Brands set by Boxicons. It is drawn on a 24 × 24 grid. Boxicons Brands 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
- Boxicons Brands
- Author
- Boxicons
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M12.026 2c-5.509 0-9.974 4.465-9.974 9.974c0 4.406 2.857 8.145 6.821 9.465c.499.09.679-.217.679-.481c0-.237-.008-.865-.011-1.696c-2.775.602-3.361-1.338-3.361-1.338c-.452-1.152-1.107-1.459-1.107-1.459c-.905-.619.069-.605.069-.605c1.002.07 1.527 1.028 1.527 1.028c.89 1.524 2.336 1.084 2.902.829c.091-.645.351-1.085.635-1.334c-2.214-.251-4.542-1.107-4.542-4.93c0-1.087.389-1.979 1.024-2.675c-.101-.253-.446-1.268.099-2.64c0 0 .837-.269 2.742 1.021a9.6 9.6 0 0 1 2.496-.336a9.6 9.6 0 0 1 2.496.336c1.906-1.291 2.742-1.021 2.742-1.021c.545 1.372.203 2.387.099 2.64c.64.696 1.024 1.587 1.024 2.675c0 3.833-2.33 4.675-4.552 4.922c.355.308.675.916.675 1.846c0 1.334-.012 2.41-.012 2.737c0 .267.178.577.687.479C19.146 20.115 22 16.379 22 11.974C22 6.465 17.535 2 12.026 2" clip-rule="evenodd"/></svg>How to use the Github icon
React
import { Icon } from "@iconify/react";
<Icon icon="bxl:github" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="bxl:github" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="bxl:github" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[bxl--github]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/bxl -->
<div class="i-bxl:github"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="bxl:github"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/bxl/github.svg" alt="Github icon" width="24" height="24">Related icons in Boxicons Brands
Github icon in other icon sets
Github icon FAQ
Is the Github icon free for commercial use?
Yes. Boxicons Brands 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="bxl: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/bxl/github.svg" alt="Github icon">, or paste the SVG code inline to style it with CSS.