ui-font-awesome

4.3.1 • Public • Published

FontAwesome as Elements

Working with Custom Elements, I got very tired of class and overloading <div>, <span>, and <i>. So, using HTML5, here are a set of elements.

<icon bomb/> working <spinner spin/>
<stack>
  <icon bomb/>
  <icon ban/>
</stack>

Tweaking

These are inline elements, basically think of them as special text. You want them larger, jack up the font-size.

Readme

Keywords

none

Package Sidebar

Install

npm i ui-font-awesome

Weekly Downloads

3

Version

4.3.1

License

ISC

Last publish

Collaborators

  • wballard