Material Icons for Vaadin 14+
Material Icons for Vaadin
Material Icons (1800+) for Vaadin Flow
materialicons-flow integrates the materialicons web component (Javascript / Polymer) and allows us to use it in Vaadin Flow (Java).
See usage on the Code Samples tab, the full Material Icon list on the API page and the source code on the Links tab.
Version information:
- 1.0.x - the version for Vaadin 14+
- 2.0.x - the version for Vaadin 23
- 3.0.1 - the version for Vaadin 24.4+
Sample code
// v1.x.x MaterialIcon extends IronIcon, so it can be used anywhere where IronIcon can be used // Making a 'refresh' icon MaterialIcon refreshIcon = MaterialIcons.REFRESH.create(); // Putting 'refresh' icon onto a button Button refreshButton = new Button(MaterialIcons.REFRESH.create());
// v2.x.x MaterialIcon extends VaadinIcon, so it can be used anywhere where VaadinIcon or Icon can be used // Making a 'refresh' icon Icon refreshIcon = MaterialIcons.REFRESH.create(); // Putting 'refresh' icon onto a button Button refreshButton = new Button(MaterialIcons.REFRESH.create());
// v3.0.x MaterialIcon extends VaadinIcon, so it can be used anywhere where VaadinIcon or Icon can be used // Making a 'refresh' icon Icon refreshIcon = MaterialIcons.REFRESH.create(); // Putting 'refresh' icon onto a button Button refreshButton = new Button(MaterialIcons.REFRESH.create());
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
1.0.0 working with Vaadin Flow version 14. It might work with other versions (like 15 or 16), but I haven't tested that. Version 2.0.0 is compatible with Vaadin 23.
- Released
- 2023-02-10
- Maturity
- STABLE
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 14
- Vaadin 24.4+ in 3.0.1
- Vaadin 23 in 2.0.1
- Browser
- Firefox
- Google Chrome
- Android Browser
- Microsoft Edge
Material Icons for Vaadin 14+ - Vaadin Add-on Directory
Material Icons for VaadinMaterial Icons for Vaadin 14+ version 1.0.0
1.0.0 working with Vaadin Flow version 14. It might work with other versions (like 15 or 16), but I haven't tested that. Version 2.0.0 is compatible with Vaadin 23.
Material Icons for Vaadin 14+ version 2.0.0
2.x.x for Vaadin Flow 23
Material Icons for Vaadin 14+ version 3.0.1
3.0.1 for Vaadin Flow 24.4.x
Material Icons for Vaadin 14+ version 1.0.1
Vaadin 14 compatible, using @gl0b3/materialicons@1.0.1
Material Icons for Vaadin 14+ version 2.0.1
Vaadin 23 (using @gl0b3/materialicons@2.0.2)