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

1.0.0 • Public • Published

Nativescript FontAwesome

A simpler way to use FontAwesome icons with NativeScript

Install

tns plugin add nativescript-fontawesome

click here to Download fontawesome-webfont.ttf or download from fontawesome website

  • Place font icon .ttf file in app/fonts, like below:
app/fonts/fontawesome-webfont.ttf
  • call the init function in the you'r app.ts:
import { Fontawesome } from 'nativescript-fontawesome';
Fontawesome.init();

Usage

<Label class="fa" text="{{'fa-bluetooth' | fontawesome }}"></Label> 

Credits

nativescript-fonticon

Package Sidebar

Install

npm i nativescript-fontawesome

Weekly Downloads

10

Version

1.0.0

License

Apache-2.0

Last publish

Collaborators

  • moayad