1.2.0 • Published 3 years ago

@riot-material/rm-icon v1.2.0

Weekly downloads
3
License
MIT
Repository
-
Last release
3 years ago

icon set of Material Design for riot-material

Installation

You can install it via nodejs

npm install @riot-material/rm-icon

or download one of the bundled file

/**
 * `dist/index.amd.js`
 * `dist/index.umd.js`
 */
requirejs.config({
  paths: {
      "@riot-material/rm-icon": "path/to/@riot-material/rm-icon",
   },
});

require(['@riot-material/rm-icon'], function (IconComponent) {
    // ...
});

/**
 * `dist/index.js`
 * `dist/index.es.js`
 * npm installation
 */
import IconComponent from "@riot-material/rm-icon";

otherwise you can include the script in your project html

<script src="@riot-material/rm-icon/index.umd.js" />

and access it via

window.riotMaterial.components.icon;

Documentation

Just write inside the tag the name of the chosen icon

Check the available icons here

1.2.0

3 years ago

1.1.0

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago