Skip to content
This repository was archived by the owner on Jul 17, 2026. It is now read-only.

zyra/ionic-material-icons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Warning

This package is deprecated and no longer maintained. Use Ionic's built-in Ionicons, custom SVG icons, or Google's Material Symbols. The source remains available for historical reference, but no fixes or support will be provided.

npm npm npm

ionic2-material-icons

Material Icons for Ionic Apps

Usage

Use md-name instead of name when you want to use a material icon. Icon names can be found on this page: https://material.io/icons/. All names are a single lowercase words, example: alarm add would be alarm_add.

<ion-icon md-name="settings"></ion-icon>

Installation

You can download this repo, then copy the font files and the directive into your app. Or follow these steps:

Install module from NPM

npm i ionic2-material-icons

Import the module

Import MaterialIconsModule into your app's root and shared modules.

import { MaterialIconsModule } from 'ionic2-material-icons';

@NgModule({
  ...
  imports: [
    ...
    MaterialIconsModule 
  ]
})

Add copy command

Add this code to your package.json:

"config": {
  "ionic_copy": "./copy.config.js"
}

Create a new file named copy.config.js in your app's root directory, and add the following content to it:

module.exports = {
  copyMaterialIcons: {
    src: ['{{ROOT}}/node_modules/ionic2-material-icons/fonts/**/*'],
    dest: '{{WWW}}/assets/fonts'
  }
};

About

Over 900 Material lcons for Ionic 2+ Apps

Topics

Resources

License

Stars

27 stars

Watchers

3 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors