Upload - Icon-Button


is there a way in to replace the button inside the component with something like this?

<vaadin-button theme="icon"> <vaadin-icon icon="lumo-upload"></vaadin-icon> </vaadin-button>

Not sure about 23.x - but with 24 it should be possible to add / replace the button by providing your own button with the slot=add-button attribute

Related PR for 24 https://github.com/vaadin/flow-components/pull/4207

Quickly tested this in 23.3, adding slot="add-button" to the button should work.

It actually doesn’t work in 24 anymore, the component will always override the button’s content to contain the text from the I18N object. Might be a bug.

great, thank you both