3.0.1 • Published 6 years ago

@polymer/iron-icons v3.0.1

Weekly downloads
12,348
License
BSD-3-Clause
Repository
github
Last release
6 years ago

Published on NPM Build status Published on webcomponents.org

<iron-icons>

iron-icons is a utility import that includes the definition for the iron-icon element, iron-iconset-svg element, as well as an import for the default icon set.

See: Documentation, Demo.

Usage

Installation

npm install --save @polymer/iron-icons

In an HTML file

<html>
  <head>
    <script type="module">
      import '@polymer/iron-icon/iron-icon.js';
      import '@polymer/iron-icons/iron-icons.js';
    </script>
  </head>
  <body>
    <iron-icon icon="search"></iron-icon>
  </body>
</html>

In a Polymer 3 element

import {PolymerElement} from '@polymer/polymer/polymer-element.js';
import {html} from '@polymer/polymer/lib/utils/html-tag.js';

import '@polymer/iron-icon/iron-icon.js';
import '@polymer/iron-icons/iron-icons.js';

class ExampleElement extends PolymerElement {
  static get template() {
    return html`
      <iron-icon icon="search"></iron-icon>
    `;
  }
}

customElements.define('example-element', ExampleElement);

Contributing

If you want to send a PR to this element, here are the instructions for running the tests and demo locally:

Installation

git clone https://github.com/PolymerElements/iron-icons
cd iron-icons
npm install
npm install -g polymer-cli

Running the demo locally

polymer serve --npm
open http://127.0.0.1:<port>/demo/

Running the tests

polymer test --npm
fundwave-fund-management@navigateconsulting/eva-botf6c-image-slider@teipublisher/pb-components7@phil-cd/frontendtest2@infinitebrahmanuniverse/nolb-_poltest-pkg-form-builder@everything-registry/sub-chunk-731@boluabraham/fhir-navbartangy-custom-formtangy-formtest-pk-ecqm-gridwise-shopping-cartsatya04webcomponentsremix-web-componentsdl-hello-vuevowo-submenu-dialogveltec-multi-videomicro-fabric-uxmhva-lugares-appjinceiljinneeintervention-pagesiron-iron-stariron-pages-navbarisuwang-elementsisu-elementisu-elementslit-inputlive-localizermonster-creatorkse-common-iconkse-common-uiks-common-uihh-player-newhh-player-new.jsideahub-icon-toggleideahub-web-componentsimtiyaz-polymer-3-first-elementin-app-searchh2-elementskami-flashkami-infinitelistjb-ratingl2t-fab-footerglobular-mvcglobular_adminmumaa-dialogmaterial-components-elm-js-importslsi-schedule-inputlsi-schedule-visualizernodecg-twitchie-graphicsnodecgnstarpaper-autocompletepaper-carouselpaper-chippaper-collapse-itempaint-practicepolymer-3polymer-3-first-elementpolymer-3-rating-bar-web-componentoe-paper-chipoe-studiooe-toggleoe-ui-miscoe-workflow-ui-componentsoe-combooe-component-manageroe-date-rangeniwesh_mishra_web_compnexus-portal-componentspk-ecqm-headerpk-bonnie-testmeasurepk-ecqm-loginsoniapanditarpdfviwersoccer-cardskeleton-carouseltime-field@anviltech/wuf-poly-paper-elements@aspen-elements/aspen-login-menu-item@aspen-elements/aspen-nav-menu@aspen-elements/aspen-nav-menu-item@aspen-elements/aspen-search-field@aspen-elements/aspen-secure-button@aspen-elements/aspen-text-field@aspen-elements/aspen-toggle@aspen-elements/firefly-login@aspen-elements/paper-bottom-sheet@aspen-elements/paper-chip@aspen-elements/aspen-button@aspen-elements/aspen-icon@aspen-elements/aspen-link-button@aspen-elements/aspen-link-editor@aspen-elements/aspen-link-field@adzadzadz/paper-autocomplete@casper2020/casper-common-ui@casper2020/casper-context-menu@casper2020/casper-icons
3.0.1

6 years ago

3.0.0

6 years ago

3.0.0-pre.26

6 years ago

3.0.0-pre.25

6 years ago

3.0.0-pre.24

6 years ago

3.0.0-pre.23

6 years ago

3.0.0-pre.22

6 years ago

3.0.0-pre.21

7 years ago

3.0.0-pre.20

7 years ago

3.0.0-pre.19

7 years ago

3.0.0-pre.18

7 years ago

3.0.0-pre.17

7 years ago

3.0.0-pre.16

7 years ago

3.0.0-pre.15

7 years ago

3.0.0-pre.14

7 years ago

3.0.0-pre.13

7 years ago

3.0.0-pre.12

7 years ago

3.0.0-pre.11

7 years ago

3.0.0-pre.10

7 years ago

3.0.0-pre.8

7 years ago

3.0.0-pre.7

7 years ago

3.0.0-pre.6

7 years ago

3.0.0-pre.4

7 years ago

3.0.0-pre.3

7 years ago

3.0.0-pre.2

7 years ago

3.0.0-pre.1

7 years ago

1.2.0-pre.3

8 years ago

1.2.0-pre.2

8 years ago

1.2.0-pre.1

8 years ago

0.0.4

8 years ago

0.0.3

9 years ago

0.0.1

9 years ago