Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 861 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 861 Bytes

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