1.0.0 • Published 7 years ago

nativescript-fontawesome v1.0.0

Weekly downloads
28
License
Apache-2.0
Repository
-
Last release
7 years ago

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