Add-on Directory

Toggle Button Add-On - Vaadin Add-on Directory

Toggle button built on Vaadin components with support for customizable labels and icons Toggle Button Add-On - Vaadin Add-on Directory
A toggle button component for Vaadin Flow that supports customizable labels and icons on both sides of the toggle. #### Features * Toggle between two states with a single click * Customizable left and right labels * Support for icons on both sides via slots * Optional label highlighting: active-side label uses the theme variant color (primary, success, warning, error, or contrast), inactive side is dimmed * Optional icons-inside layout: icons adjacent to the switch, labels on the outer edges * Theme variants: `SMALL`, `MEDIUM`, `LARGE`, `LONGSWIPE`, `PRIMARY`, `SUCCESS`, `WARNING`, `ERROR`, `CONTRAST` * `LONGSWIPE` variant produces a wider switch track, optimized for touch interaction; can be combined with size variants * Fluent API for easy configuration * Full integration with Vaadin's `HasValue`, `HasSize`, `HasLabel`, `HasAriaLabel`, and `HasTooltip`
View on GitHub
Author Homepage
Online Demo
Issue tracker

Toggle Button Add-On version 1.0.0
Initial implementation