Sha256: 58febfefe94d3a984926fbb4cb7402c709b1fbd745b3c60590e2922603adeb0a
Contents?: true
Size: 691 Bytes
Versions: 16
Compression:
Stored size: 691 Bytes
Contents
# octicons_helper [![Gem version](https://img.shields.io/gem/v/openproject-octicons_helper.svg)](https://rubygems.org/gems/openproject-octicons_helper) This rails helper lets you easily include svg octicons in your rails apps. ## Install 1. Add this to your `Gemfile` ```rb gem 'openproject-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 [`@openproject/octicons-angular`](/packages/javascript) npm module. You can also npm install that package and include `@openproject/octicons-angular/styles/index.scss` in your styles.
Version data entries
16 entries across 16 versions & 1 rubygems