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:
And then execute:
Or install it yourself as:
$ gem install simple-line-icons-rails
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
If you use the
Sass indented syntax,
add this to your
- The remainder of the simple-line-icons-rails project is licensed under the MIT License.