DicebearVaadin
Dicebear and Vaadin 14+, a set of avatars icons
An integration with dicebear, which is a bundle of avatars. Compiled by Java 11.
Any problems you found relate to this addon, I am glad to see your ticket on github.
Your donation makes the addon much better, thanks for all your support.
Sample code
//Use embeded avatar DicebearVaadin dicebearVaadin = new DicebearVaadin(); dicebearVaadin.setValue("wontlost"); dicebearVaadin.setStyle(Style.avataaars); Options options = new Options(); options.setRadius(radius.getValue()); options.setMargin(radius.getValue()/5); options.setWidth(Integer.parseInt(e.getValue())); options.setHeight(Integer.parseInt(e.getValue())); options.setBackground("transparent"); dicebearVaadin.setOptions(options); //Use customized image Image image = new Image("icons/icon.png", "image"); image.setWidth("30"); image.setHeight("30"); DicebearVaadin dicebearVaadin = new DicebearVaadin(image);
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
- update dicebear to v4.10.0
- update Vaadin to v14.8.3
- Released
- 2022-01-25
- Maturity
- TESTED
- License
- MIT License
Compatibility
- Framework
- Vaadin 14+
- Browser
- Firefox
- Opera
- Safari
- Google Chrome
- iOS Browser
- Android Browser
- Microsoft Edge
DicebearVaadin - Vaadin Add-on Directory
Dicebear and Vaadin 14+, a set of avatars iconsAn integration with [dicebear](https://avatars.dicebear.com/), which is a bundle of avatars. Compiled by Java 11.
Any problems you found relate to this addon, I am glad to see your ticket on [github](https://github.com/eroself/vaadin-litelement-dicebear/issues).
Your [donation](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Q6H3YAQCWHMM4&source=url) makes the addon much better, thanks for all your support.