Logo Github 24 icon
octicon:logo-github-24
The Logo Github 24 icon (octicon:logo-github-24) is a free SVG icon from the Octicons set by GitHub. It is drawn on a 74 × 24 grid. Octicons 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="74" height="24" viewBox="0 0 74 24"><path fill="currentColor" d="M8.472 3.088c4.225 0 6.777 1.805 7.592 4.841l-3.785.902c-.462-1.65-1.783-2.552-3.807-2.552c-3.015 0-4.643 1.98-4.643 5.743s1.584 5.787 4.555 5.787c2.502 0 4.079-1.406 4.323-3.829H8.076v-3.168h8.45v2.002c0 5.26-3.059 8.186-8.208 8.186C3.213 21 0 17.501 0 12.022c0-5.48 3.279-8.934 8.472-8.934M51.62 15.741c0 1.518.682 2.355 1.98 2.355c1.496 0 2.64-1.387 2.64-3.28V8.304h3.5V20.67h-3.5v-2.09c-.66 1.342-2.244 2.31-3.938 2.31c-2.707 0-4.181-1.496-4.181-4.225V8.303h3.499z"/><path fill="currentColor" fill-rule="evenodd" d="M65.063 10.57C65.775 9.073 67.38 8.017 69 8.017c3.375 0 5.157 2.333 5.04 6.448c.118 4.07-1.73 6.425-5.04 6.425c-1.686 0-3.226-.968-3.96-2.355v2.135h-3.477V3.418h3.499zm2.706.374c-1.444 0-2.588 1.408-2.707 3.345v.198c.119 2.002 1.263 3.476 2.707 3.476c1.813 0 2.803-1.342 2.685-3.498c.118-2.179-.872-3.521-2.685-3.521"/><path fill="currentColor" d="M21.323 20.67h-3.477V8.303h3.477zm7.004-12.367h2.575v2.905h-2.575v5.611c0 .682.308.946.99.946h1.585v2.905h-2.839c-2.31 0-3.212-.99-3.212-3.08v-6.382H22.65V8.303h2.2V5.84l3.477-.814zm7.783-4.885v6.998h6.557V3.418h3.741V20.67h-3.74v-6.91H36.11v6.91h-3.74V3.418zM19.584 3c1.167 0 2.069.902 2.069 2.069a2.04 2.04 0 0 1-2.069 2.068a2.04 2.04 0 0 1-2.068-2.068c0-1.167.902-2.069 2.068-2.069"/></svg>How to use the Logo Github 24 icon
React
import { Icon } from "@iconify/react";
<Icon icon="octicon:logo-github-24" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="octicon:logo-github-24" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="octicon:logo-github-24" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[octicon--logo-github-24]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/octicon -->
<div class="i-octicon:logo-github-24"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="octicon:logo-github-24"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/octicon/logo-github-24.svg" alt="Logo Github 24 icon" width="24" height="24">Related icons in Octicons
Logo Github 24 icon FAQ
Is the Logo Github 24 icon free for commercial use?
Yes. Octicons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Logo Github 24 icon in React?
Install @iconify/react and render <Icon icon="octicon:logo-github-24" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Logo Github 24 icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/octicon/logo-github-24.svg" alt="Logo Github 24 icon">, or paste the SVG code inline to style it with CSS.