Skip to content

devanka761/webfont-awesome-pro

Repository files navigation

Font Awesome Pro Plus

Use the Latest Font Awesome Pro Plus for Free. Get all stylesheets and webfonts into your project easily!

  • Package Version: v1.2.4
  • Font Awesome Pro Version: v7.1.0

NOTICE

Font Awesome Pro Plus was made for educational purposes only!

This package provides Paid (Pro Plus) Version for the latest official package. It is intended for experimental and personal use only. It is licensed for commercial use.

DO NOT use this package if you are not the Creators or you have not buy the official product from the official website.

To unlock commercial use for your own projects, and get an official product license, please consider to go to the Font Awesome official webiste: https://fontawesome.com/plans

SETUP

Install the package

npm install webfont-awesome-pro

USAGE

Choose one from the following how you want to use the font awesome pro plus.

Recommended if you understand how to work with bundlers.

Recommended if you want to host the font awesome pro plus somewhere and decide the folder to store the font awesome pro plus assets. Then you can connect them to your project manually.

Bundler (recommended)

You can use some bundlers such as webpack, parcel, etc.

JavaScript/TypeScript with bundler

Tip

This is the most effective way

All styles

// import all font awesome pro plus styles

// with .scss
import "webfont-awesome-pro/scss/allstyles.scss";
// with .css
import "webfont-awesome-pro/css/allstyles.css";

// or traditional import
import("webfont-awesome-pro/scss/allstyles.scss")

// your code
document.body.innerHTML = `
  <p>Look at these icons!</p>
  <i class="fa-sharp-duotone fa-solid fa-user-secret"></i>
`;

Specific styles

// or if you want to import specific
// font awesome pro plus styles
// make sure to always import
// the 'fontawesome.scss' (or .css)
// before other styles
import "webfont-awesome-pro/scss/fontawesome.scss";

// then the primary styles
import "webfont-awesome-pro/scss/solid.scss";
import "webfont-awesome-pro/scss/regular.scss";
import "webfont-awesome-pro/scss/duotone.scss";
import "webfont-awesome-pro/scss/sharp-solid.scss";
import "webfont-awesome-pro/scss/sharp-duotone-solid.scss";

// then the additional styles
import "webfont-awesome-pro/scss/chisel-regular.scss";
import "webfont-awesome-pro/scss/etch-solid.scss";
import "webfont-awesome-pro/scss/notdog-solid.scss";

SCSS/CSS with bundler

// import all font awesome pro plus styles
// import with scss (support: scss)
@use "webfont-awesome-pro/scss/allstyles.scss";
// or traditional import (support: scss/css)
@import "webfont-awesome-pro/scss/allstyles.scss";
// or even more traditional (support: scss/css)
@import url("webfont-awesome-pro/scss/allstyles.scss");

// same rule applies for specific styles like the javasript example above

Note

These method bellow will download the font awesome pro plus assets directly into your project folder.

Downloader

You decide the folder to store the font awesome pro plus assets.

Command Line

npx webfapro

Script package.json

...
"scripts": {
  ...
  "get-fapro": "webfapro"
}
npm run get-fapro

JavaScript/TypeScript ES Modules - import

import { getFapro } from "webfont-awesome-pro";

// start the downloader
getFapro();

JavaScript/TypeScript CommonJS - require

const { getFapro } = require("webfont-awesome-pro");

// start the downloader
getFapro();

About

Font Awesome Pro Downloader

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •