Skip to content

x

1000%

Usage

You can use the Rails helper, Jekyll helper, or React package to include Octicons on your site. Below are code examples for each:

Ruby

<%= octicon "x", :height => 24 %>

Jekyll

{% octicon x height:24 %}

React

<XIcon size={24} />

UI examples