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
openproject-octicons_helper-0.0.1 README.md
openproject-octicons_helper-19.4.0 README.md
octicons_helper-19.4.0 README.md
octicons_helper-19.3.0 README.md
octicons_helper-19.2.0 README.md
octicons_helper-19.1.0 README.md
octicons_helper-19.0.0 README.md
octicons_helper-18.3.0 README.md
octicons_helper-18.2.0 README.md
octicons_helper-18.1.0 README.md
octicons_helper-18.0.0 README.md