Badge
Java API for Lumo Badge for Vaadin 24, Vaadin 23.3.x and Vaadin 14.x.
This component is Java API for Lumo Badge.
See more: https://vaadin.com/docs/v14/flow/styling/lumo/badges
Version for Vaadin 23 implements HasTooltip.
Sample code
// Create badge Badge badge = new Badge("text"); // Set variant badge.setVariant(BadgeVariant.SUCCESS); // Set primary badge.setPrimary(true); // Set pill badge.setPill(true); // Add icon badge.setIcon(VaadinIcon.USER.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
Version 2.2.2
- Fix broken tooltips with Vaadin 24
- Released
- 2023-04-03
- Maturity
- BETA
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 23+
- Vaadin 23 in 2.2.0
- Vaadin 14 in 1.0.0
- Browser
- Firefox
- Opera
- Safari
- Google Chrome
- iOS Browser
- Android Browser
- Microsoft Edge