Skip to content

code

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 "code", :height => 16 %>

Jekyll

{% octicon code height:16 %}

React

<CodeIcon size={16} />

UI examples

Inline textSmall inline text
Monalisa created one hot potato