npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

ionic2-custom-icons

v0.6.0

Published

A npm-script for creating custom icon fonts and Angular 4 directives to render the icons in your Ionic 3 app.

Downloads

36

Readme

ionic2-custom-icons

A npm-script for creating custom icon fonts and Angular 5 directives to render the icons in your Ionic 3 app.

The library has been tested with Ionic 3.9.2, @ionic/app-scripts 3.1.10 and ionic-cli 3.20.0.

Please note that Ionic is under heavy development. This library will be updated promptly if there are any modifications/updates necessary.

Take a look here to find a working example app to start right away. :rocket:

Table of contents

Description

The npm-script allows creating icon fonts from a given set of SVG vector images during the app's build phase. Internally the npm-script uses gulp and the awesome libraries gulp-iconfont (by Nicolas Froidure) to generate the SVG/TTF/EOT/WOFF/WOFF2 fonts.

The Angular 2 directive CustomIcon provides a convenient way to embed the previously generated icon fonts in an Ionic 2 app by simply adding a component to the HTML template. See the following example:

<custom-icon set="myIconSet" name="myIcon"></custom-icon>

A set of Sass/CSS rules comes along with directive, which allows adding icons to default Ionic 2 components like buttons and list items.

Notice: Please be aware that there are serious reasons to not use icon fonts at all. See here for further discussions. But as the Ionic 2 team prefers icon fonts over other solutions, this is also the path I have chosen.

Installation

ionic2-custom-icons is available via the Node Package Manager (NPM). You can install the package with the following command:

npm install ionic2-custom-icons --save

The --save parameter is optional and saves a reference into the dependencies array in your project's package descriptor file package.json.

Configuration

See CONFIGURATION docs (docs/CONFIGURATION.md)

Usage

See USAGE docs (docs/USAGE.md)

Example app

A fully working example app is provided in an independent GitHub repository: ionic2-custom-icons-example

Changelog

A changelog with upgrade information is available here.

Building the library

See BUILDING docs (docs/BUILDING.md)

Contribution

Any contribution is highly welcome! Please send pull requests, report bugs or request new features.

License

This project is licensed under the MIT License. See the LICENSE.md file for details.

Acknowledgments

The project originated during the development of the mobile app for the TU Dortmund University at the IT & Medien Centrum (ITMC) who kindly allowed me to release this piece of software to the public.

Contact

Gerrit Erpenstein [email protected]

Note: Please use the issue tracker for bug reports or feature requests.