android13/external/chromium-trace/catapult/third_party/polymer/components/iron-icons
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
.github initial 2024-06-22 20:45:49 +08:00
demo initial 2024-06-22 20:45:49 +08:00
test initial 2024-06-22 20:45:49 +08:00
.bower.json initial 2024-06-22 20:45:49 +08:00
.travis.yml initial 2024-06-22 20:45:49 +08:00
CONTRIBUTING.md initial 2024-06-22 20:45:49 +08:00
README.md initial 2024-06-22 20:45:49 +08:00
av-icons.html initial 2024-06-22 20:45:49 +08:00
bower.json initial 2024-06-22 20:45:49 +08:00
communication-icons.html initial 2024-06-22 20:45:49 +08:00
device-icons.html initial 2024-06-22 20:45:49 +08:00
editor-icons.html initial 2024-06-22 20:45:49 +08:00
hardware-icons.html initial 2024-06-22 20:45:49 +08:00
hero.svg initial 2024-06-22 20:45:49 +08:00
image-icons.html initial 2024-06-22 20:45:49 +08:00
index.html initial 2024-06-22 20:45:49 +08:00
iron-icons.html initial 2024-06-22 20:45:49 +08:00
maps-icons.html initial 2024-06-22 20:45:49 +08:00
notification-icons.html initial 2024-06-22 20:45:49 +08:00
places-icons.html initial 2024-06-22 20:45:49 +08:00
social-icons.html initial 2024-06-22 20:45:49 +08:00

README.md

Build status

Demo and API docs

##<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.

The iron-icons directory also includes imports for additional icon sets that can be loaded into your project.

Example loading icon set:

<link rel="import" href="../iron-icons/maps-icons.html">

To 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.

Example using the directions-bus icon from the maps icon set:

<iron-icon icon="maps:directions-bus"></iron-icon>

To load a subset of icons from one of the default iron-icons sets, you can use the poly-icon tool. It allows you to select individual icons, and creates an iconset from them that you can use directly in your elements.

See iron-icon for more information about working with icons.

See iron-iconset and iron-iconset-svg for more information about how to create a custom iconset.