Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Foundation Font Icons on Sass for Rails
CSS Ruby
Branch: master

Merge pull request #17 from BioBoost/master

Update for rails 4 support
latest commit bb65a2ebb4
@zaiste authored

Foundation Icon Fonts on SASS for Rails

Current version: Foundation Icon Fonts 3.

How to Install

For rails versions 4 and up

    gem 'sass-rails', "  ~> x.x.x"
    gem 'coffee-rails', "~> x.x.x"
    gem 'uglifier'
    gem 'foundation-icons-sass-rails'

For rails versions < 4

Add foundation-icons-sass-rails gem to the assets group in your Gemfile:

    group :assets do
      gem 'sass-rails', "  ~> x.x.x"
      gem 'coffee-rails', "~> x.x.x"
      gem 'uglifier'
      gem 'foundation-icons-sass-rails'

Then rename your app/assets/stylesheets/application.css to app/assets/stylesheets/application.css.scss and add:

@import 'foundation-icons';

Now, you can use it as follows:

<i class="fi-[icon]"></i>

Version 2.x

For Foundation Icon Fonts 2 use v2.x branch.

<i class="general foundicon-[icon]"></i>
<i class="general-enclosed foundicon-[icon]"></i>
<i class="social foundicon-[icon]"></i>
<i class="accessibility foundicon-[icon]"></i>


Foundation Icon Fonts 3 and Foundation Icon Fonts 2 are created by ZURB and licensed under MIT.

Rest of the code is also under MIT.

Something went wrong with that request. Please try again.