# mdi-react-es

> Material Design Icons for React

Latest version **5.4.55** (published 2020-08-05) · (MIT AND OFL-1.1) license · 0 weekly downloads

## Install

```sh
npm install mdi-react-es
pnpm add mdi-react-es
yarn add mdi-react-es
bun add mdi-react-es
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 5.4.55 |
| Published | 2020-08-05 |
| First published | 2020-07-09 |
| Weekly downloads | 0 |
| License | (MIT AND OFL-1.1) |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.9 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | foisonocean |
| Maintainers | foisonocean |
| Keywords | mdi, react, material, design, icons, esm |

## Links

- npm: https://www.npmjs.com/package/mdi-react-es
- Repository: https://github.com/foisonocean/mdi-react-es
- Issues: https://github.com/foisonocean/mdi-react-es/issues
- npm.io page: https://npm.io/package/mdi-react-es

## Alternatives

- [@fortawesome/react-fontawesome](https://npm.io/package/@fortawesome/react-fontawesome.md) — 2.2M weekly downloads
- [roboto-fontface](https://npm.io/package/roboto-fontface.md) — 196.0K weekly downloads
- [@react-native-vector-icons/common](https://npm.io/package/@react-native-vector-icons/common.md) — 150.4K weekly downloads
- [@procore/core-icons](https://npm.io/package/@procore/core-icons.md) — 4.6K weekly downloads
- [@react-md/material-icons](https://npm.io/package/@react-md/material-icons.md) — 1.6K weekly downloads

## Recent versions

- 5.4.55 (latest) — 2020-08-05
- 2.1.20 — 2020-07-09
- 2.1.19 — 2020-07-09

## README

# mdi-react-es [![npm package](https://img.shields.io/npm/v/mdi-react-es.svg?style=flat-square)](https://npmjs.org/package/mdi-react-es)
[Material Design Icons](https://materialdesignicons.com) for React packaged as single components

## Introduction

This repo is forked from [mdi-react](https://github.com/levrik/mdi-react), but with modern ES module syntax.

## Installation

```bash
npm install mdi-react-es
# or if you use Yarn
yarn add mdi-react-es
```

*The version number of `mdi-react-es` is in sync with the original font.*

## Usage

Just search for an icon on [materialdesignicons.com](https://materialdesignicons.com) and look for its name.  
The name translates to PascalCase followed by the suffix `Icon` in `mdi-react-es`.

For example the icons named `alert` and `alert-circle`:

```javascript
import AlertIcon from 'mdi-react-es/AlertIcon';
import AlertCircleIcon from 'mdi-react-es/AlertCircleIcon';

const MyComponent = () => {
  return (
    <div>
      <AlertIcon />
      <AlertCircleIcon className="some-class" />
    </div>
  );
};
```

The icons get a class named `mdi-icon` attached for styling. You can also attach own additional classes with the `className` property.

---
_Source: https://npm.io/package/mdi-react-es · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
