@riot-material/rm-icon
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @riot-material/rm-icon

Weekly Downloads

1

Version

1.2.0

License

MIT

Unpacked Size

1.54 MB

Total Files

10

Last publish

Collaborators

  • kal-aster