Skip to content
A plugin to quickly integrate material design font icons in nativescript project.
CSS JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
scripts
.gitignore
LICENSE
MaterialIcons-Regular.ttf
README.md
material-design-icons.css
package.json

README.md

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-icons --save

How to Use

Check this step-by-step tutorial on how to use material design font icons in your nativescript angular applications.

You can’t perform that action at this time.