No release in over 3 years
Low commit activity in last 3 years
an asset gemification of the simple-line-icons icon font library
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 3.2, < 7
 Project Readme

simple-line-icons-rails

simple-line-icons-rails provides the thesabbir/simple-line-icons web fonts and stylesheets as a Rails engine for use with the asset pipeline.

Installation

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

Usage

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.

Sass Support

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

License

  • The remainder of the simple-line-icons-rails project is licensed under the MIT License.