State Toggle


The state toggle allows the user to easily switch between different states of an element.


State Toggle Large


The state toggle allows for switching between states of an element, for example between Edit and Preview states of an email edit page. JavaScript can be attached (using `.js-*` classes) as required. The below uses simple JavaScript to illustrate the switch of active state.