simple-line-icons-rails provides the thesabbir/simple-line-icons web fonts and stylesheets as a Rails engine for use with the asset pipeline.
Add this line to your application's Gemfile:
gem 'simple-line-icons-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install simple-line-icons-rails
In your application.css
, include the css file:
/*
*= require simple-line-icons
*/
Then restart your webserver if it was previously running.
Congrats! You now have scalable vector icon support. Pick an icon and check out the thesabbir/simple-line-icons.
If you prefer SCSS, add this to your
application.css.scss
file:
@import "simple-line-icons";
If you use the
Sass indented syntax,
add this to your application.css.sass
file:
@import simple-line-icons
- The remainder of the simple-line-icons-rails project is licensed under the MIT License.