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