Sha256: abc6dcd81bfab4d68539f8b96d247af70d4a7ec33e014c31633b26cd7bb29c3f

Contents?: true

Size: 609 Bytes

Versions: 31

Compression:

Stored size: 609 Bytes

Contents

# octicons_helper

[![Gem version](https://img.shields.io/gem/v/octicons_helper.svg)](https://rubygems.org/gems/octicons_helper)


This rails helper lets you easily include svg octicons in your rails apps.

## Install

1. Add this to your `Gemfile`

    ```rb
    gem 'octicons_helper'
    ```

3. Use this tag in your erbs

    ```rb
    <%= octicon "alert", :height => 32,  :class => "right left", :"aria-label" => "hi" %>
    ```
We recommend including the CSS in the [`@primer/octicons`](/packages/javascript) npm module. You can also npm install that package and include `build/build.css` in your styles.

Version data entries

31 entries across 31 versions & 2 rubygems

Version Path
octicons_helper-19.12.0 README.md
octicons_helper-19.11.0 README.md
octicons_helper-19.10.0 README.md
octicons_helper-19.9.0 README.md
octicons_helper-19.8.0 README.md
octicons_helper-19.7.0 README.md
octicons_helper-19.6.0 README.md
octicons_helper-19.5.0 README.md
openproject-octicons_helper-19.6.5 README.md
openproject-octicons_helper-19.6.4 README.md
openproject-octicons_helper-19.6.3 README.md
openproject-octicons_helper-19.6.2 README.md
openproject-octicons_helper-19.6.1 README.md
openproject-octicons_helper-19.5.7 README.md
openproject-octicons_helper-19.5.6 README.md
openproject-octicons_helper-19.5.5 README.md
openproject-octicons_helper-19.5.4 README.md
openproject-octicons_helper-19.5.3 README.md
openproject-octicons_helper-19.5.2 README.md
openproject-octicons_helper-19.5.1 README.md