• Home
Name Date Size #Lines LOC

..--

.github/03-May-2024-3414

demo/03-May-2024-11789

test/03-May-2024-10871

.bower.jsonD03-May-20241.4 KiB4747

.gitignoreD03-May-202457 43

.travis.ymlD03-May-2024800 2524

CONTRIBUTING.mdD03-May-20243.4 KiB7839

README.mdD03-May-20241.7 KiB5020

av-icons.htmlD03-May-202418.5 KiB9786

bower.jsonD03-May-20241.1 KiB3938

communication-icons.htmlD03-May-202412.8 KiB6756

device-icons.htmlD03-May-202419.5 KiB9685

editor-icons.htmlD03-May-202414 KiB8574

hardware-icons.htmlD03-May-20249.4 KiB6554

hero.svgD03-May-20241.5 KiB3634

image-icons.htmlD03-May-202444.4 KiB172161

index.htmlD03-May-2024867 2712

iron-icons.htmlD03-May-202472 KiB354315

maps-icons.htmlD03-May-202418.1 KiB8574

notification-icons.htmlD03-May-202415.1 KiB7160

places-icons.htmlD03-May-20248.7 KiB3625

social-icons.htmlD03-May-20249.8 KiB4736

README.md

1
2<!---
3
4This README is automatically generated from the comments in these files:
5iron-icons.html
6
7Edit those files, and our readme bot will duplicate them over here!
8Edit this file, and the bot will squash your changes :)
9
10The bot does some handling of markdown. Please file a bug if it does the wrong
11thing! https://github.com/PolymerLabs/tedium/issues
12
13-->
14
15[![Build status](https://travis-ci.org/PolymerElements/iron-icons.svg?branch=master)](https://travis-ci.org/PolymerElements/iron-icons)
16
17_[Demo and API docs](https://elements.polymer-project.org/elements/iron-icons)_
18
19
20##&lt;iron-icons&gt;
21
22`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.
23
24The `iron-icons` directory also includes imports for additional icon sets that can be loaded into your project.
25
26Example loading icon set:
27
28```html
29<link rel="import" href="../iron-icons/maps-icons.html">
30```
31
32To use an icon from one of these sets, first prefix your `iron-icon` with the icon set name, followed by a colon, ":", and then the icon id.
33
34Example using the directions-bus icon from the maps icon set:
35
36```html
37<iron-icon icon="maps:directions-bus"></iron-icon>
38```
39
40To load a subset of icons from one of the default `iron-icons` sets, you can
41use the [poly-icon](https://poly-icon.appspot.com/) tool. It allows you
42to select individual icons, and creates an iconset from them that you can
43use directly in your elements.
44
45See [iron-icon](./iron-icon) for more information about working with icons.
46
47See [iron-iconset](./iron-iconset) and [iron-iconset-svg](./iron-iconset-svg) for more information about how to create a custom iconset.
48
49
50