Glyphicons for Bootstrap 3 and 4
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install glyphicons
Add asset path for fonts in
# fonts config.assets.paths << Rails.root.join("app", "assets", "fonts") config.assets.precompile << /\.(?:svg|eot|woff|ttf)$/
Import Bootstrap styles in
Icon examples for html
<div class="the-icons"> <span class="glyphicon glyphicon-glass"></span> <span class="glyphicon glyphicon-music"></span> </div>
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.
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.