Project

glyphicons

0.01
No commit activity in last 3 years
No release in over 3 years
"GLYPHICONS Halflings for Bootstrap and Ruby on Rails"
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.13
~> 10.0
~> 3.0
 Project Readme

Glyphicons

Glyphicons for Bootstrap 3 and 4

Installation

Add this line to your application's Gemfile:

gem 'glyphicons'

And then execute:

$ bundle

Or install it yourself as:

$ gem install glyphicons

Usage

Add asset path for fonts in config/application.rb:

# fonts  
config.assets.paths << Rails.root.join("app", "assets", "fonts")
config.assets.precompile << /\.(?:svg|eot|woff|ttf)$/

Import Bootstrap styles in app/assets/stylesheets/application.scss:

@import 'glyphicons';

Icon examples for html

<div class="the-icons">
  <span class="glyphicon glyphicon-glass"></span>
  <span class="glyphicon glyphicon-music"></span>
</div>

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/mtunjic/glyphicons. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

License for GLYPHICONS Halflings in Bootstrap

GLYPHICONS Halflings font is also released as an extension of a Bootstrap www.getbootstrap.com for free and it is released under the same license as Bootstrap. While you are not required to include attribution on your Bootstrap-based projects, I would certainly appreciate any form of support, even a nice Tweet is enough. Of course if you want, you can say thank you and support me by buying more icons on GLYPHICONS.com.