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