1. @fortawesome/fontawesome-common-types
The iconic font, CSS, and SVG framework
@fortawesome/fontawesome-common-types
Package: @fortawesome/fontawesome-common-types
Created by: FortAwesome
Last modified: Tue, 02 Apr 2024 18:30:42 GMT
Version: 6.5.2
License: MIT
Downloads: 8,744,027
Repository: https://github.com/FortAwesome/Font-Awesome

Install

npm install @fortawesome/fontawesome-common-types
yarn add @fortawesome/fontawesome-common-types

@fortawesome/fontawesome-common-types - SVG with JavaScript

"I came here to chew bubblegum and install Font Awesome 6 - and I'm all out of bubblegum"

npm

What is this package?

Font Awesome 6 JavaScript packages support TypeScript. This package abstracts out some of the common definitions that those packages use.

Here be dragons

If you are trying to import types from this package we highly recommend you do the following instead as all types in this package are re-exported to the main fontawesome package.

your.ts

import {
  IconName
} from `@fortawesome/fontawesome-svg-core`

const myIcon: IconName = "..."

Issues and support

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

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code