Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

glyphicons

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

glyphicons

  • 1.0.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

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.

FAQs

Package last updated on 26 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc