Octicons

A scalable set of icons handcrafted by GitHub.

Octicon nav items navigation

Categories

Symbols

Objects

Developer

Feed

People

Logos

Uncategorized

All Octicons

key

Octicon sizes navigation

Usage

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

React

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


<KeyIcon size={16} />

Rails

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

Jekyll

{% octicon key height:16 %}

Figma

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