fontawesome-svgs
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

FontAwesome SVGs

A tree-shakable library that exports Font Awesome SVGs as strings.

Supported versions

  • Font Awesome 5
  • Font Awesome 6

Usage

Icons are exported as fa{version}_{iconSet}_{iconName}. For example;

import { fa5_solid_bell } from 'fontawesome-svgs';

document.body.innerHTML = fa5_solid_bell;

Building

The library is generated using a Deno script.

To add your own icons, place them in the icons directory, then build using the following command:

npm run build

License

Original license applies to Font Awesome icons. https://fontawesome.com/v4/license/

The rest of the library is licensed under the MIT license.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i fontawesome-svgs

      Weekly Downloads

      57

      Version

      1.0.3

      License

      MIT

      Unpacked Size

      2.83 MB

      Total Files

      4

      Last publish

      Collaborators

      • cymaera