6.0.6 • Published 8 months ago

@easyfonts/font-awesome-v6 v6.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months ago

Font awesome free version V6

Synopsis

By ©Fonticons, Inc.

Font Awesome Free is free, open source, and GPL friendly. You can use it for commercial projects, open source projects, or really almost whatever you want.

Install

Install the fontface via npm.

npm install --save @easyfonts/font-awesome-free
## OR
yarn add @easyfonts/font-awesome-free

Usage

Include the font in your build with (tailwind css will look in node_modules as well)

@import "@easyfonts/fontawesome-free";

Reference in your css

.someclass {
  font-family: "Font Awesome 6 Free";
}

With above css, the tag below will now show the glyph in 700 weight

<i class="fa fa-calendar-alt" />

This will install all fontfiles in node modules (4.4Mb).

If you are not using all font weights you can select a subset of fontfiles to be included into your build. You build will be consequently smaller

import statementprefix-classdescription
import '@easyfonts/fontawesome-free/brands.css';fabsglyphs of well known brands
import '@easyfonts/fontawesome-free/regular.css';faregular glyphs
import '@easyfonts/fontawesome-free/solid.css';fasfilled up glyphs and thicker strokes

Example

Include only extra-bold in your bundle

css:

@import "@easyfonts/fontawesome-free/solid.css";

javascript: (webpack, vite)

import "@easyfonts/fontawesome-free/solid.css";

Glyph CheatSheet.

Font Awesome v6 part 1 Font Awesome v6 part 2 Font Awesome v6 part 3 Font Awesome v6 part 4

6.0.6

8 months ago

6.0.3

8 months ago

6.0.2

8 months ago

6.0.5

8 months ago

6.0.4

8 months ago

6.0.1

11 months ago

6.0.0

11 months ago