Toggle
A switch for turning a setting on or off, usually with immediate effect.
See it on the 3D treeGoing deeper
It resembles a physical switch with two states, and people expect the change to take effect without pressing Save. The label should name the setting and stay the same in both positions. State should be shown by more than colour and exposed to assistive technology.
Why it matters
Choosing a toggle sets an expectation about timing that the system needs to honour.
In practice
Turning on Airplane mode takes effect at once, and the switch and status icon both change.
Common mistake
Putting toggles in a form that only applies them after Submit.