@fortawesome/fontawesome-free - The Official Font Awesome 5 NPM package

“I came here to chew bubblegum and install Font Awesome 5 - and I’m all out of bubblegum”

npm

Installation

$ npm i --save @fortawesome/fontawesome-free

Or

$ yarn add @fortawesome/fontawesome-free

What’s included?

This package includes all the same files available through our Free and Pro CDN.

  • /js - All JavaScript files associated with Font Awesome 5 SVG with JS
  • /css - All CSS using the classic Web Fonts with CSS implementation
  • /sprites - SVG icons packaged in a convenient sprite
  • /scss, /less - CSS Pre-processor files for Web Fonts with CSS
  • /webfonts - Accompanying files for Web Fonts with CSS
  • /svg - Individual icon files in SVG format

Documentation

Get started here. Continue your journey here.

Or go straight to the API documentation.

Issues and support

Start with GitHub issues and ping us on Twitter if you need to.