Popupbutton in Vaadin 14

I didn’t find any component working like popupbutton in vaadin 14.
Could someone suggest a replacement for such kind of component ?

Hi Tullio,

I’m not sure if this link has been updated recently, but take a look:


This means there’s no solution ?

Depends on what you mean by popupbutton. Do you mean a [ComboBox]

Or maybe you want to open a [Dialog]
(https://vaadin.com/components/vaadin-dialog) when clicking a Button?

Other similar components you might want to take a look at: [Select]
(https://vaadin.com/components/vaadin-select), [ListBox]
(https://vaadin.com/components/vaadin-list-box), [ContextMenu]

I mean something like a select but showing a button with an icon .
When opened it would show a list of other buttons (with icon).

Button popupButton = new Button(VaadinIcon.USER.create(), click -> {
	Dialog popup = new Dialog();
	//TODO: create other buttons
	popup.add(new HorizontalLayout(button1, button2, button3));

using Vaadin 14.2 and onwards will give you [even more control over Dialogs]
(https://vaadin.com/blog/vaadin-14.2-feature-update-is-in-beta). And using some javascript (if not even possible by API in 14.2 im not sure) you could surely place the dialog to the spot where the button was clicked.