4 The `iron-icon` element displays an icon. By default an icon renders as a 24px square.
9 <iron-icon src="star.png"></iron-icon>
12 Example setting size to 32px x 32px:
15 <iron-icon class="big" src="big_star.png"></iron-icon>
25 The iron elements include several sets of icons.
26 To use the default set of icons, import `iron-icons.html` and use the `icon` attribute to specify an icon:
29 <!-- import default iconset and iron-icon -->
30 <link rel="import" href="/components/iron-icons/iron-icons.html">
32 <iron-icon icon="menu"></iron-icon>
35 To use a different built-in set of icons, import `iron-icons/<iconset>-icons.html`, and
36 specify the icon as `<iconset>:<icon>`. For example:
39 <!-- import communication iconset and iron-icon -->
40 <link rel="import" href="/components/iron-icons/communication-icons.html">
42 <iron-icon icon="communication:email"></iron-icon>
45 You can also create custom icon sets of bitmap or SVG icons.
47 Example of using an icon named `cherry` from a custom iconset with the ID `fruit`:
50 <iron-icon icon="fruit:cherry"></iron-icon>
53 See [iron-iconset](#iron-iconset) and [iron-iconset-svg](#iron-iconset-svg) for more information about
54 how to create a custom iconset.
56 See [iron-icons](http://www.polymer-project.org/components/iron-icons/demo.html) for the default set of icons.