components / font-awesome
Font Awesome, the iconic SVG, font, and CSS framework.
Installs: 3 549 541
Dependents: 76
Suggesters: 2
Security: 0
Stars: 193
Watchers: 22
Forks: 57
Open Issues: 2
Language:SCSS
Type:component
- dev-master
- 6.5.2
- 6.5.1
- 6.4.2
- 6.2.0
- 6.1.2
- 6.1.1
- 6.1.0
- 6.0.0
- 5.15.4
- 5.15.3
- 5.15.1
- 5.15.0
- 5.14.0
- 5.13.1
- 5.12.1
- 5.12.0
- 5.11.2
- 5.9.0
- 5.4.2
- 5.0.x-dev
- 5.0.13
- 5.0.6
- 4.7.0
- 4.6.3
- 4.6.1
- 4.6.0
- 4.5.0.x-dev
- 4.5.0
- 4.4.0.x-dev
- 4.4.0
- 4.3.0.x-dev
- 4.3.0
- 4.2.0.x-dev
- 4.2.0
- 4.1.0.x-dev
- 4.1.0
- 4.0.3.x-dev
- 4.0.3
- 4.0.2.x-dev
- 4.0.2
- 4.0.1.x-dev
- 4.0.1
- 4.0.0.x-dev
- 4.0.0
- 3.2.x-dev
- 3.2.1
- 3.2.0
- 3.1.x-dev
- 3.1.0
- 3.0.x-dev
- 3.0.2
- dev-fix-bower
This package is auto-updated.
Last update: 2024-12-08 16:44:13 UTC
README
Shim repository for Font Awesome.
The full suite of pictographic icons, examples, and documentation can be found at: https://fontawesome.com/
Package Managers
- npm:
components-font-awesome
- Bower:
components-font-awesome
- Component:
components/font-awesome
- Composer:
components/font-awesome
Installation
Gulp
Re-compile bower
If using bower, do not forget to re-compile bower using gulp bower
. Here is the sample code if you do not have one.
// Update Foundation with Bower and save to /vendor gulp.task('bower', function() { return bower({ cmd: 'update'}) .pipe(gulp.dest('vendor/')) });
Combine css
With gulp, usually there is a function to combine all scss to css file for faster page loads.
In the sample case we run function gulp style
to combine all scss to css file under ./assets/css/
Move font font folder
Here is the important part, the default font folder is on different path with the compiled bower file. We need to move the font from default font folder to the compiled bower folder (In the example vendor
is the compiled folder).
// Move font-awesome fonts folder to css compiled folder gulp.task('icons', function() { return gulp.src('./vendor/components-font-awesome/webfonts/**.*') .pipe(gulp.dest('./assets/fonts')); });
License
- The Font Awesome font is licensed under the SIL Open Font License - http://scripts.sil.org/OFL
- Font Awesome CSS, LESS, and SASS files are licensed under the MIT License - http://opensource.org/licenses/mit-license.html
- The Font Awesome pictograms are licensed under the CC BY 3.0 License - http://creativecommons.org/licenses/by/3.0/
- Attribution is no longer required in Font Awesome 3.0, but much appreciated: "Font Awesome by Dave Gandy - http://fortawesome.github.com/Font-Awesome"