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 ?
Tks

Hi Tullio,

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

https://vaadin.com/docs/v10/flow/migration/5-components.html

This means there’s no solution ?
Tks

Depends on what you mean by popupbutton. Do you mean a [ComboBox]
(https://vaadin.com/components/vaadin-combo-box)?

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]
(https://vaadin.com/components/vaadin-context-menu).

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).
Tks

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

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.