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