Describe your motivation
A ( Toggle Switch ) component is missing from Vaadin Components. Toggles are the modern replacement for checkboxes and are ubiquitous on mobile interfaces, yet Vaadin Components has no option for toggles.
Compared to checkboxes, toggles have an improved physical world correspondence and click affordability.
Design decision: whether to implement the toggle by theming a checkbox. The logical behaviour is the same, but toggles have a different shape.
Describe the solution you'd like
Either:
Option A. add a <vaadin-toggle> with the same interface as the checkbox.
or Option B. add a theme=toggle to `
Describe alternatives you've considered
https://github.com/vaadin-component-factory/toggle-button is a community library which has not been updated since Vaadin 14.
Additional context
No response
Describe your motivation
A ( Toggle Switch ) component is missing from Vaadin Components. Toggles are the modern replacement for checkboxes and are ubiquitous on mobile interfaces, yet Vaadin Components has no option for toggles.
Compared to checkboxes, toggles have an improved physical world correspondence and click affordability.
Design decision: whether to implement the toggle by theming a checkbox. The logical behaviour is the same, but toggles have a different shape.
Describe the solution you'd like
Either:
Option A. add a
<vaadin-toggle>with the same interface as the checkbox.or Option B. add a
theme=toggleto `Describe alternatives you've considered
https://github.com/vaadin-component-factory/toggle-button is a community library which has not been updated since Vaadin 14.
Additional context
No response