nativescript-fontawesome
Your awesome NativeScript plugin for using fontawesome icons
npm i --save nativescript-fontawesome
- Version: 1.0.0
- GitHub:
- NPM: https://www.npmjs.com/package/nativescript-fontawesome
- Downloads:
- Last Day: 0
- Last Week: 0
- Last Month: 0
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 inapp/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>