@anypoint-web-components/anypoint-icons

1.0.1 • Public • Published

Build Status

Published on NPM

anypoint-icons

A set of icons for Anypoint web components.

Usage

Installation

npm install --save @anypoint-web-components/anypoint-icons

In an html file

<html>
  <head>
    <script type="module">
      import '@anypoint-web-components/anypoint-icons/anypoint-icons.js';
      import '@polymer/iron-icon/iron-icon.js';
    </script>
  </head>
  <body>
    <iron-icon icon="anypoint:add"></iron-icon>
  </body>
</html>

In a LitElement

import { LitElement, html } from 'lit-element';
import '@anypoint-web-components/anypoint-icons/anypoint-icons.js';
import '@polymer/iron-icon/iron-icon.js';

class SampleElement extends LitElement {
  render() {
    return html`
    <iron-icon icon="anypoint:add"></iron-icon>
    `;
  }
}
customElements.define('sample-element', SampleElement);

Development

git clone https://github.com/anypoint-web-components/anypoint-icons
cd anypoint-icons
npm install

Running the demo locally

npm start

Running the tests

npm test

Package Sidebar

Install

npm i @anypoint-web-components/anypoint-icons

Weekly Downloads

3

Version

1.0.1

License

(C) MuleSoft. All rights reserved.

Unpacked Size

134 kB

Total Files

7

Last publish

Collaborators

  • carowright
  • jarrodek
  • twoplustwoone
  • lbauret