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