Crypticons rails helper

Gem version Build Status

A rails helper that inlines SVG crypticons

This rails helper let's you easily include svg crypticons in your rails apps.

Install

  1. Add this to your Gemfile

    gem 'crypticons_helper'
    
  2. Use this tag in your erbs

    <%= crypticon "bitcoin", :height => 32,  :class => "right left", :"aria-label" => "hi" %>
    

We recommend including the CSS in the crypticons_node module. You can also npm install that package and include build/build.css in your styles.

Documentation

For a full list of options available, see the crypticons_gem documentation

License

(c) Mitchell Cash

MIT