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