# material-design-icons-svg

> Material design icons svgs from materialdesignicons.com

Latest version **3.3.1** (published 2024-10-08) · ISC license · 0 weekly downloads

## Install

```sh
npm install material-design-icons-svg
pnpm add material-design-icons-svg
yarn add material-design-icons-svg
bun add material-design-icons-svg
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 3.3.1 |
| Published | 2024-10-08 |
| First published | 2016-06-08 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.2 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 19 |
| Author | Marc Bachmann |
| Maintainers | marcbachmann, livingdocs-bot |
| Keywords | material-design-icons, material-design, icons, icon, svg, mdi |

## Links

- npm: https://www.npmjs.com/package/material-design-icons-svg
- Repository: https://github.com/marcbachmann/material-design-icons-svg
- Homepage: https://github.com/marcbachmann/material-design-icons-svg#readme
- Issues: https://github.com/marcbachmann/material-design-icons-svg/issues
- npm.io page: https://npm.io/package/material-design-icons-svg

## 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
- [stockfish](https://npm.io/package/stockfish.md) — 27.0K weekly downloads
- [@procore/core-icons](https://npm.io/package/@procore/core-icons.md) — 4.6K weekly downloads

## Recent versions

- 3.3.1 (latest) — 2024-10-08
- 3.3.0 — 2023-04-17
- 3.2.0 — 2021-05-26
- 3.1.1 — 2020-06-04
- 3.1.0 — 2020-05-08
- 3.0.0 — 2019-06-24
- 2.0.0 — 2018-01-31
- 1.1.2 — 2017-09-04
- 1.1.1 — 2017-09-03
- 1.1.0 — 2017-09-03
- 1.0.1 — 2016-06-16
- 1.0.0 — 2016-06-08

## README

# material-design-icons-svg

This module contains all icons from https://materialdesignicons.com and gives you some methods to load them in your browser (assumed you're using browserify/webpack/another commonjs module loader).

## Installation

```
npm install material-design-icons-svg
```

## Usage

```js
// Load all 1600 material design icons, ~170kb gzipped
var paths = require('material-design-icons-svg/paths')
var icons = require('material-design-icons-svg')(paths)

// Then you can use it wherever you like
var svg = icons.getSVG('access-point')
// returns inline svg
// <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4.93,4....0Z" /></svg>

$(document.body).append(svg)


// OR if you care about render performance

// You can load icons using the `<use>` notation.
icons.initialize(document.body) // Appends all icons to document.body
var icon = icons.getIcon('access-point')
// returns reference to initialized svg
// <svg>
//   <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#deviantart">
//   </use>
// </svg>
$(document.body).append(icon)


// You can also load specific icons if you don't like to load a ton of unused icons into your app
var icons = require('material-design-icons-svg')({
  'account': require('material-design-icons-svg/paths/account'),
  'menu': require('material-design-icons-svg/paths/menu')
})

var svg = icons.getSVG('menu')
// Returns inline svg of `menu` icon
```

## Example

Check out `./example.js`

```
node example.js
```

---
_Source: https://npm.io/package/material-design-icons-svg · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
