nativescript-fontawesome
Your awesome NativeScript plugin for using fontawesome icons
npm i --save nativescript-fontawesome
  • Version: 1.0.0
  • GitHub:
  • Downloads:
    • Last Day:   5
    • Last Week:  29
    • Last Month: 196

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