- Version: 1.0.0
- GitHub: https://github.com/mubarocks/nativescript-material-design-icons
- NPM: https://www.npmjs.com/package/nativescript-material-design-icons
- Downloads:
- Last Day: 0
- Last Week: 0
- Last Month: 0
Nativescript Material Icons
This is a simple package which contains css classes for all material design icons and MaterialIcons font.
Why This Plugin
To use any font icons in nativescript project, there is a great plugin nativescript-fonticon for vanilla nativescript project and nativescript-ng2-fonticon for angular native projects. That plugin requires a font file and a css file containing mapping of className and unicode of the icon.
material-design-icons repository do not provide css file so we need to generate it manually.
This plugin provides the ready to use css file containing mapping of className and its unicode. This plugin also automatically copy the MaterialIcons-Regular.ttf file to app/fonts
folder and material-design-icons.css
file to app/
directory. So you don't need to manually add those files. Also, upon uninstall of this plugin, it will remove those two files.
Usage
npm install nativescript-material-design-icons --save
How to Use
Check this step-by-step tutorial on how to use material design font icons in your nativescript angular applications.