All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vaadin.polymer.public.bower_components.iron-icon.README.md Maven / Gradle / Ivy

There is a newer version: 1.9.3.1
Show newest version
iron-icon
=========

The `iron-icon` element displays an icon. By default an icon renders as a 24px square.

Example using src:

```html

```

Example setting size to 32px x 32px:

```html



```

The iron elements include several sets of icons.
To use the default set of icons, import  `iron-icons.html` and use the `icon` attribute to specify an icon:

```html




```

To use a different built-in set of icons, import  `iron-icons/-icons.html`, and
specify the icon as `:`. For example:

```html




```

You can also create custom icon sets of bitmap or SVG icons.

Example of using an icon named `cherry` from a custom iconset with the ID `fruit`:

```html

```

See [iron-iconset](#iron-iconset) and [iron-iconset-svg](#iron-iconset-svg) for more information about
how to create a custom iconset.

See [iron-icons](http://www.polymer-project.org/components/iron-icons/demo.html) for the default set of icons.




© 2015 - 2025 Weber Informatics LLC | Privacy Policy