I wanted to make Toggle button but I couldn’t find any Vaadin components about this.
How can I make an On-Off kind of button?
One approach would be to integrate existing webcomponent, i.e. take this component
https://vaadin.com/directory/component/polymerelementspaper-toggle-button
And follow the instructions from documentation here: https://vaadin.com/docs/v14/flow/web-components/integrating-a-web-component.html