astro-fontawesome

0.1.1 • Public • Published

Astro FontAwesome Library

Description

This library provides the FontAwesomeIcon and FontAwesomeLayer components, which can be used to use FontAwesome icons within your project.

Installation

npm install astro-fontawesome

Usage

<FontAwesomeIcon icon={faStar} class="star-class" />
<FontAwesomeLayer
  icons={[
    { icon: faCircle, class: 'circle-class' },
    { icon: faMap, class: 'map-class' }
  ]}
  class="layer-class"
/>

Contributing

To be filled out.

Acknowledgements

This library was made primarily through code sourced with permission by Gilles Marchand in this thread.

Package Sidebar

Install

npm i astro-fontawesome

Weekly Downloads

42

Version

0.1.1

License

MIT

Unpacked Size

4.32 kB

Total Files

6

Last publish

Collaborators

  • luluvia