All Octicons

logo-github

Octicon sizes navigation

Usage

You can use this icon in React, Ruby, Jekyll, or Figma. Here are code examples for each:

React

import {LogoGithubIcon} from '@primer/octicons-react'


<LogoGithubIcon size={16} />

Rails

<%= render(Primer::Beta::Octicon.new(:"logo-github", size: :small)) %>

Jekyll

{% octicon logo-github height:16 %}

Figma

This icon is called logo-github in Primer's Octicons library.