0.4.1 • Published 4 years ago

@floatwork/fontawesome-svg-loader v0.4.1

Weekly downloads
9
License
MIT
Repository
github
Last release
4 years ago

fontawesome-svg-loader

npm npm CircleCI David

Loads Font Awesome SVG icons and inlines them in place of the default markup

Demo Time 🙌

Installation

npm install @floatwork/fontawesome-svg-loader -S

Usage

Include the script on your website

<!-- Loader script -->
<script src="https://cdn.jsdelivr.net/npm/@floatwork/fontawesome-svg-loader@latest/dist/fontawesome-svg-loader.js" defer ></script>

<!-- Fallback when JavaScript is not available -->
<noscript>
  <link href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5/css/all.min.css" rel="stylesheet" />
</noscript>

Use the Font Awesome markup like you usually would, the library will take care of the rest

<i class="fas fa-paper-plane"></i>

Authors

License

This work is licensed under The MIT License

0.4.1

4 years ago

0.4.0

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago