Skip to the content.

Material Design Icons (Pictogrammers)

Information

Material Design Icons by Pictogrammers is a highly popular, community-led icon collection that extends the official Google Material Design icon set. It contains over 7,000 icons, providing many symbols not found in the official Google sets, making it a go-to for many developers.

Main Functionalities and Features

Installation

Pictogrammers MDI can be installed in several ways depending on your project’s needs.

Webfont (npm)

The easiest way to get all icons available as CSS classes:

npm install @mdi/font

Then include the CSS in your project:

import '@mdi/font/css/materialdesignicons.css'

For better performance and smaller bundle sizes, use the SVG path package:

npm install @mdi/js

Framework Specific Packages

Configuration

CSS Customization (Webfont)

You can customize the icons using standard CSS properties:

.mdi {
    font-size: 24px;
    color: #2196F3;
}

/* Helper classes provided by @mdi/font */
.mdi-24px {
    font-size: 24px;
}

.mdi-36px {
    font-size: 36px;
}

.mdi-48px {
    font-size: 48px;
}

.mdi-light {
    color: rgba(255, 255, 255, 0.7);
}

.mdi-dark {
    color: rgba(0, 0, 0, 0.54);
}

Usage, Tips and Tricks

Webfont Usage (HTML)

Once the CSS is loaded, use the mdi and mdi-<icon-name> classes:

<span class="mdi mdi-account"></span>
<span class="mdi mdi-home-outline"></span>
<span class="mdi mdi-check-circle-outline mdi-24px"></span>

React Usage (with @mdi/react and @mdi/js)

import Icon from '@mdi/react';
import {mdiAccount} from '@mdi/js';

function MyComponent() {
    return (
        <Icon path={mdiAccount} size={1} color="red"/>
    );
}

Angular Usage (with @mdi/angular)


<mdi-icon [path]="mdiAccountPath"></mdi-icon>
import {mdiAccount} from '@mdi/js';

@Component({...})
export class MyComponent {
    mdiAccountPath = mdiAccount;
}

Why use Pictogrammers MDI over Google’s Official Icons?

  1. More Icons: Google’s set is relatively small and focused on generic UI. Pictogrammers includes brands, weather, medical, and highly specific industry icons.
  2. Consistency: Pictogrammers follows the Material Design grid strictly, so their icons mix perfectly with official ones.
  3. Community: If you need an icon that doesn’t exist, you can request it on their GitHub.

See also