ToggleButton | Vaadin

ToggleButton and ButtonGroup.

This add-on adds Toggle functionality to Vaadin Buttons. It also includes a ButtonGroup manager which can create or register Buttons and manage the selection so that only one button is selected at a moment.

It includes 3 APIs:

  • ToggleButton - Button with toggle capability.
  • ToggleExtension - Extension to be used with a Button, adding toggle capability the Button.
  • ButtonGroup - manage multiple buttons with a single button selected.

For now, adding the Buttons registered with a ButtonGroup on your UI is your responsibility. ButtonGroup only manages the selection so that only one button is selected.

Current beta version doesn't work with Valo. It was tested mainly against Reindeer.

By default the style of the selected state is the button pressed style, so in your scss file please move the @import and @include declarations of the togglebutton after the framework theme.


Link to this version
BetaReleased 15 May 2015Apache License 2.0
Framework Support
Vaadin 7.2+
Browser Independent
Install with
Release notes - Version 1.0-beta