All Octicons

gear

Octicon sizes navigation

Usage

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

React

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


<GearIcon size={24} />

Rails

<%= render(Primer::Beta::Octicon.new(:gear, size: :medium)) %>

Jekyll

{% octicon gear height:24 %}

Figma

This icon is called gear-24 in Primer's Octicons library.