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