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={16} />

Rails

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

Jekyll

{% octicon gear height:16 %}

Figma

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