Material Design Icons v2.3.54

Note: v2.3.50 was unpublished due to a bug and replaced by this build.

It has only been 25 days, but we're releasing another update to Material Design Icons. This update includes 111 new icons and 27 icon updates (mostly brand related). This also includes a few renames which are outlined below.

You can view the @mdi NPM Org for the Updates.

Preview on the CDN

9 Renames

While it is rare the team to rename an icon we decided in this release to finally rename icons we've decided in the past not to rename.

  • roomba to robot-vacuum
  • nest-protect to smoke-detector
  • nest-thermostat to thermostat
  • amazon-clouddrive to amazon-drive
  • apple-mobileme to apple-icloud
  • stackexchange to stack-exchange
  • hangouts to google-hangouts
  • allo to google-allo
  • youtube-play to youtube

The first three follow our new guidelines. All home automation icons need to be generic and not related to a specific brand.

All other renames focus on associating the brands under their company and the drive/iCloud renames.

The development server's history makes these changes easier to track and we can't wait until the new site launches.


The next release is focusing on icon contributions, integrations with third parties, and the new website.

Material Design Icons v2.3.50

Note: v2.3.50 was unpublished due to a bug and replaced by v2.3.54.

Please read the release notes for: v2.3.54

The v2.3.50 release was out for less an hour before being unpublished and only affected the @mdi/svg package. All other packages including @mdi/font were unaffected.

Scripting with NodeJS and Material Design Icons

The team has been active working on building out scripts to generate helper libraries for various uses of Material Design Icons. This got me to thinking it might be useful to share how easy these scripts can be to write.

Goal: Write a NodeJS script that takes the @mdi/svg package and converts it into a easy to view preview.html.

I picked this since it accesses the meta.json (this contains all the meta information about each icon, like tags, aliases, etc.) and in the end generates a single html file.


  • Empty Folder named "preview"
  • NodeJS Installed (for npm command line)
  • Visual Studio Code (or another editor, but my examples will use this)

The NodeJS command line will allow us to pull down some helper scripts and execute our build.js we'll be writing.

NPM Init

The first step will require you to open a command line of your choice (CTRL+tilde in VS Code).

  • Run npm init in your /preview folder
  • Press enter a few times to accept all the defaults.
  • Run npm install @mdi/svg @mdi/util

Awesome, you will now see a folder called node_modules this contains a copy of the latest version of the SVG's and the meta.json file.

Note: If you want to see the meta.json open it and then run CTRL+P followed by typing format. This will format the JSON file.

Creating the Build Script

The build.js file is below. We'll break down what each part does and what the @mdi/util provides.

const util = require('@mdi/util');

const fileName = "./preview.html";
const version = util.getVersion();
const meta = util.getMeta(true); // withPaths

const body = => `
  <span onClick="a('${}')"
    <svg viewBox="0 0 24 24">
      <path d="${icon.path}" />

const template = `
  <!DOCTYPE html>
    <meta charset="UTF-8">
    <title>Material Design Icons - Preview</title>
      svg { width: 24px; height: 24px }
      window.a = x => alert(x);
    <h1>MDI Preview</h1>

util.write(fileName, template);
console.log(`\u2714 Build ${version}`);

The @mdi/util includes a few helper methods for working with the @mdi/svg package's data with NodeJS.

  • util.getVersion() Get the semver formatted string of the current @mdi/svg release.
  • util.getMeta(true) Get the meta.json data. Passing true will parse the SVG folder for path data assigning it to .path.
  • util.write(file, data) Write data to a file.
  • Read data from a file.

View the util.js to understand these utilities.

Update package.json

In the package.json a new script needs to be added to handle build.

"scripts": {
  "test": "echo \"Error: no test specified\" && exit 1",
  "build": "node build.js"

To run the build execute npm run build.

MDI Preview


Hopefully you found the above tutorial useful and allows you to create more complex build scripts.

NPM @mdi/angular-material

In the first of many new packages for integration with MDI is for the popular Angular Material framework.

npm install @mdi/angular-material for v2.2.43.

The package can be used with the icon component provided.

Like all future packages this one uses @mdi/svg as a devDependency meaning if someone wants they can build any version by change the version in package.json.

  • npm install
  • npm run build (updates mdi.svg)