Reference articles on history, science, culture and more
Encyclopedia

Cycle button

User interface element

A cycle button or toggle button is a graphical control element that allows the user to choose one from a predefined set of options. It is used as a button, the content of which changes with each click and cycles between two or more values; the currently displayed value is the user's choice.

A cycle button's advantage over radio buttons or a list box is that it takes less screen space; its advantage over a drop-down list is that a single mouse click is enough to switch between the two options. The disadvantage is if the button has many options, many clicks are needed to switch to the desired one. This is why some GUI environments have the ability to display the same element as a cycle button or a drop-down list, depending on the number of options.

Watch videos about Cycle buttonExplainers and documentaries on YouTube (opens in a new tab)

Sources and credits

This article is adapted from the Wikipedia article Cycle button, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.

Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.