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