iron-icons
Provides an easy way to include Polymer iron-icons inside Vaadin applications
Polymer's icons definitions for Vaadin
Provides an easy way to include Polymer iron-icons inside Vaadin applications.
Usage
- Use your dependencies manager to include this library. Example with Maven:
<dependency>
<groupId>nc.unc.vaadin.flow.polymer</groupId>
<artifactId>iron-icons</artifactId>
<version>${iron-icons.version}</version>
</dependency>
Each collection belongs on this own enumeration named by following pattern :
Iron[Collection]Icons
. For example, communication icons are defined inIronCommunicationIcons
enumeration. The collection named 'icons' is defined inIronIcons
enumeration.To create an Vaadin
Icon
component, you must use thecreate
method. Examples:
new Button("Save", IronIcons.SAVE.create());
new Span(IronSocialIcons.SCHOOL.create(), "Congratulations ! Your are graduated.");
Sample code
new Button("Save", IronIcons.SAVE.create()); new Span(IronSocialIcons.SCHOOL.create(), "Congratulations ! Your are graduated.");
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
- New requirements : Java 11 & Vaadin 23+
- Fix support of Vaadin 23+
- Released
- 2022-03-28
- Maturity
- STABLE
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 23
- Vaadin 10+ in 1.0.0
- Browser
- Browser Independent
iron-icons - Vaadin Add-on Directory
Provides an easy way to include Polymer iron-icons inside Vaadin applicationsSource Code
iron-icons version 1.0.0
First version.
Uses:
* Vaadin v14.0.8
* Polymer iron-icons v3.0.1
iron-icons version 2.0.0
- New requirements : Java 11 & Vaadin 23+
- Fix support of Vaadin 23+