Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

239
Vistas
HTML icons that worked fine in Vaadin 20 longer work in Vaadin 21

In Vaadin 20 I could add an icon as a Java component:

add(new Icon("vaadin", "check));

or in HTML:

<iron-icon icon=vaadin:check></iron-icon>

Changing nothing but the Vaadin version, in Vaadin 21, the first shows an icon, the second is blank. I've gone through the Vaadin 21 documentation and there's nothing I can see about a formatting change, what's the deal?

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

iron-icon removed from Vaadin 21

I have no experience on this, but…

See this Answer by Jean-Christophe Gueriaud.

He explains that as part of the transition away from Polymer, iron-icon is no longer available in Vaadin 21 and later. The replacement is vaadin-icon.

One user reports that annotating @Uses(Icon.class) while replacing iron-icon with vaadin-icon in the template makes it work.

Perhaps the new doc pages Images and Icons and Vaadin Icons might help.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda