All Octicons

horizontal-rule

Octicon sizes navigation

Usage

You can use this icon in React, Ruby, Jekyll, or Figma. Here are code examples for each:

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.