DEV Community

Discussion on: Should a button communicate the current state, the intended behavior, or both?

Collapse
 
geocine profile image
Aivan Monceller • Edited

This is an interesting topic. I had an argument with a designer regarding this sometime ago. Personally I think if its a simple toggle which turns something on/off indicated by an icon, I would prefer showing the current state.
If its something which requires a call to action and includes some text (which you could/couldn't cancel in the future) , I prefer showing the intended behavior

Collapse
 
nestedsoftware profile image
Nested Software • Edited

Based on how confusing I find my iPhone mute toggle button, I am leaning toward the idea that buttons that have no text (are they always toggles?) should be different from text-based buttons. Icon toggle buttons seem to make more sense to me when they are, as you say, showing the current state. Then again, play/pause, if it’s one button that toggles, would make more sense to me in the normal way, where the play button means I want to play, not that it’s already playing.