UNPKG

1.07 kBMarkdownView Raw
1# Material Desing Icon List
2
3> A fresh list of Google's Material Design Icons
4
5## How fresh is the list?
61. It downloads latest icons from [material.io](https://material.io/tools/icons/) and creates js files. see [here](https://unpkg.com/material-design-icon-list@nightly/dist/) for a list of js files it creates.
7
82. It will download, build and publish every day with travis schedule so the list always **FRESH**.
9
10## Usage
11
12- Fresh list with CDN method
13
14 ```html
15 <script src="https://unpkg.com/material-design-icon-list@nightly"></script>
16 ```
17
18- Fresh list with npm/yarn
19
20 - nightly method
21
22 ```sh
23 yarn add material-design-icon-list@nightly
24 ```
25
26 ```js
27 /*
28 * app.js
29 */
30 import ids from 'material-design-icon-list/dist/ids.js'
31 ```
32
33 - src method
34
35 ```sh
36 yarn add material-design-icon-list
37 ```
38
39 ```js
40 /*
41 * app.js
42 */
43 import list from 'material-design-icon-list/src/list.js'
44 ```
45
46 _Note: we don't use `nightly` tag on install,because `postinstall` script will download the latest list from material.io. But you can of course use the tag_
47
\No newline at end of file