No commit activity in last 3 years
No release in over 3 years
font-awesome5-rails provides the Font-Awesome 5 Free web fonts and stylesheets as a Rails engine for use with the asset pipeline.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

< 5.2, >= 3.2
 Project Readme

An updated version of the font-awesome-rails gem by bokmann See original: https://github.com/bokmann/font-awesome-rails

font-awesome5-rails

font-awesome-rails provides the Font-Awesome 5 web fonts and stylesheets as a Rails engine for use with the asset pipeline.

Installation

Add this to your Gemfile:

gem "font-awesome5-rails"

and run bundle install.

Usage

In your application.css, include the css file:

/*
 *= require font-awesome5
 */

Then restart your webserver if it was previously running.

Congrats! You now have scalable vector icon support. Pick an icon and check out the FontAwesome Examples.

Sass Support

If you prefer SCSS, add this to your application.css.scss file:

@import "font-awesome5";

If you use the Sass indented syntax, add this to your application.css.sass file:

@import font-awesome5

License