You can use this icon in React, Ruby, or Jekyll. Here are code examples for each:
<ChevronRightIcon size={12} />
<%= render(Primer::Beta::Octicon.new(:"chevron-right", size: :xsmall)) %>
{% octicon chevron-right height:12 %}