All Octicons
key
Octicon sizes navigation
React
import {KeyIcon} from '@primer/octicons-react' <KeyIcon size={24} />
Rails
<%= render(Primer::Beta::Octicon.new(:key, size: :medium)) %>
Jekyll
{% octicon key height:24 %}
Figma
This icon is called key-24
in Primer's Octicons library.