togglebutton

noun
UK /ˈtɒɡ.əl ˈbʌt.ən/
US /ˈtɑː.ɡəl ˈbʌt.ən/

A toggle button is a button you press to turn something on or off.

Tap the toggle button to turn on the flashlight.


OTHER MEANINGS

2. A button that stays pressed down until you press it again.

The mute toggle button stayed lit while the microphone was off.

3. A user-interface control that switches between two states.

The settings screen uses a toggle button for dark mode.

4. A physical switch that flips between two positions.

He flicked the toggle button to start the machine.