octicons_helper
This rails helper lets you easily include svg octicons in your rails apps.
Install
Add this to your
Gemfile
gem 'octicons_helper'
Use this tag in your erbs
<%= octicon "alert", :height => 32, :class => "right left", :"aria-label" => "hi" %>
We recommend including the CSS in the
@primer/octicons
npm module. You can also npm install that package and includebuild/build.css
in your styles.