All Projects → Darkseal → bootstrap4-glyphicons

Darkseal / bootstrap4-glyphicons

Licence: Apache-2.0 license
How use Glyphicons with Bootstrap 4 (without getting mad)

Projects that are alternatives of or similar to bootstrap4-glyphicons

Django Jinja Knockout
Django datatables and widgets, both AJAX and traditional. Display-only ModelForms. ModelForms / inline formsets with AJAX submit and validation. Works with Django templates.
Stars: ✭ 116 (+190%)
Mutual labels:  bootstrap4, bootstrap3
Fontawesomekit.swift
A better choice for iOS Developer to use FontAwesome Icon with UI.😍
Stars: ✭ 194 (+385%)
Mutual labels:  fontawesome, font-icons
Cakephp3 Bootstrap Helpers
CakePHP 3.x Helpers for Bootstrap 3 and 4.
Stars: ✭ 134 (+235%)
Mutual labels:  bootstrap4, bootstrap3
Bootstrap Colorpicker
Bootstrap Colorpicker is a modular color picker plugin for Bootstrap.
Stars: ✭ 1,351 (+3277.5%)
Mutual labels:  bootstrap4, bootstrap3
vaktija.ba
Web Site
Stars: ✭ 19 (-52.5%)
Mutual labels:  fontawesome, bootstrap4
Aurelia Slickgrid
Aurelia-Slickgrid a wrapper of the lightning fast & customizable SlickGrid datagrid with a few Styling Themes
Stars: ✭ 100 (+150%)
Mutual labels:  bootstrap4, bootstrap3
Bootstrapcdn
Free Bootstrap CDN hosting
Stars: ✭ 1,075 (+2587.5%)
Mutual labels:  fontawesome, bootstrap4
Ajsf
Angular JSON Schema Form
Stars: ✭ 266 (+565%)
Mutual labels:  bootstrap4, bootstrap3
rofi-fontawesome
fontawesome icon list for rofi dmenu
Stars: ✭ 58 (+45%)
Mutual labels:  fontawesome, font-icons
vue-resume
a live resume builder using VueJs
Stars: ✭ 72 (+80%)
Mutual labels:  fontawesome, bootstrap4
Reactjs Crud Boilerplate
Live Demo
Stars: ✭ 83 (+107.5%)
Mutual labels:  fontawesome, bootstrap4
Swifticons
🎢Swift Library for Font Icons - ★ this library
Stars: ✭ 747 (+1767.5%)
Mutual labels:  fontawesome, font-icons
Developer Portfolio
Single page developer portfolio template.
Stars: ✭ 23 (-42.5%)
Mutual labels:  bootstrap4, bootstrap3
Bootstrap Validate
A simple Form Validation Library for Bootstrap 3 and Bootstrap 4 not depending on jQuery.
Stars: ✭ 112 (+180%)
Mutual labels:  bootstrap4, bootstrap3
Angular Slickgrid
Angular-Slickgrid is a wrapper of the lightning fast & customizable SlickGrid datagrid, it also includes multiple Styling Themes
Stars: ✭ 298 (+645%)
Mutual labels:  bootstrap4, bootstrap3
Amexio.github.io
Amexio is a rich set of Angular 7 (170+) components powered by HTML5 & CSS3 for Responsive Design and with 80+ Material Design Themes, UI Components, Charts, Gauges, Data Point Widgets, Dashboards. Amexio is completely Open Sourced and Free. It's based on Apache 2 License. You can use it in your production grade work today at no cost or no obligation.
Stars: ✭ 163 (+307.5%)
Mutual labels:  bootstrap4, bootstrap3
django-tables2-column-shifter
Simple extension for django-tables2 can dynamically show or hide columns. Using JQuery, Bootstrap 3, Bootstrap 4, Bootstrap 5 and Django >=1.9
Stars: ✭ 17 (-57.5%)
Mutual labels:  bootstrap4, bootstrap3
bootplate
Wicked-fast, mobile-first, Bootstrap 4 theme framework for building awesome WordPress websites.
Stars: ✭ 30 (-25%)
Mutual labels:  bootstrap4, bootstrap3
Django Bootstrap Modal Forms
A Django plugin for creating AJAX driven forms in Bootstrap modal.
Stars: ✭ 244 (+510%)
Mutual labels:  bootstrap4, bootstrap3
Iconfontcppheaders
C, C++ headers and C# classes for icon fonts: Font Awesome, Fork Awesome, Material Design, Kenney game icons and Fontaudio
Stars: ✭ 509 (+1172.5%)
Mutual labels:  fontawesome, font-icons

bootstrap4-glyphicons

How to use Glyphicons with Bootstrap 4 (without getting mad)

For further info & samples, read the official page.

Introduction

If you stumbled upon this project you most likely already know Bootstrap, the award-winning and worldwide-renown open source toolkit for developing with HTML, CSS, and JS. As a matter of fact, you are probably struggling trying to switch from from Bootstrap 3 to Bootstrap 4. Among the many things that have changed (mostly summarized in the official Migration guide) there was the choice to drop the Glyphicons icon font.

If you need icons, the Bootstrap team suggest one of the following alternatives:

If you're migrating an existing website based on Bootstrap 3, the first option definitely seems the most viable one. However, the Glyphicons Basic set - the one available for free - does not cover all the icons which were available in Bootstrap, which open-source toolkit was granted with the permissions to use the Halflings set (as long as they provide a link and credits info).

Now, since Bootstrap 4 doesn't ship the Halflings set anymore, if you want to use that set you might need to pay: if you don't want to, you are basically forced to migrate from Glyphicons to a viable open-source alternative, such as the aforementioned Octicons and Font Awesome - the latter being personal preference, as its free set is good enough for most projects. However, that will undoubtely require some major HTML code rewrite, because you'll have to perform a manual mapping from something like this:

<span class="glyphicons glyphicons-home"></span>
<span class="glyphicons glyphicons-plus-sign"></span>
<span class="glyphicons glyphicons-hand-left"></span>

to something like this (in case of FontAwesome):

<span class="fas fa-home"></span>
<span class="fas fa-plus-circle"></span>
<span class="fas fa-hand-point-left"></span>

... and so on. Unfortunately, as you might see, the icon names might also be quite different, hence is not possible to search-and-replace them easily.

Alternatives

If you're building a brand new project, I strongly suggest to drop the Glyphicons package and to migrate to FontAwesome: not only you'll have more icons, but you'll also have the chance to seamlessly switch from Font icons to SVG icons, which is something that you will hardly ever regret (in case you don't know why, read here).

However, if you're dealing with an existing project which makes an extensive use of the Glyphicons Halflings set, you can install this package containing two viables workaround.

Installing

This package can be used in two alternative ways: Bootstrap 4+3 and FontAwesome Mapping.

Method #1: Bootstrap 4+3

This workaround leverages the fact that you can still use Bootstrap 3.x in addition to Bootstrap 4 without any issue of sort, as long as you only get only the "glyphicon part". You won't have any license issues, since you'll be actually using Bootstrap 3.

To implement this workaround, install the package into your web site and add the following within the <head> element:

<link href="https://github.com/bootstrap4-glyphicons/css/bootstrap-glyphicons.min.css" rel="stylesheet" type="text/css" />

That's it.

Method #2: FontAwesome Mapping

Since any Glyphicon image has (more or less) their FontAwesome equivalent, we can map the various glyphycons* css classes to their fa* equivalent. This is the purpose of the file you can find in /maps/glyphicons-fontawesome.less , which will act as a transparent mapping bridge between Glyphicon and FontAwesome.

To implement this workaround, install the package into your web site and add the following within the <head> element:

<link href="https://github.com/bootstrap4-glyphicons/maps/glyphicons-fontawesome.min.css" rel="stylesheet" type="text/css" />

The only caveat here is that you'll have to use the font-based icons instead of the SVG alternative (see above), but if you're a Glyphicon user you won't suffer from that: there's a much higher chance that you won't like the "new" icons... If you feel like that, just implement the Bootstrap 4+3 alternative instead.

Authors

License

This project is licensed under the APACHE 2.0 License - see the LICENSE.md file for details

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].