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")) %>
{% octicon chevron-up height:12 %}