Toggle
A toggle is a graphical element that facilitates switching between two distinct states, such as enabled/disabled or on/off.
Anatomy

Usage
-
Switch states are saved immediately on click
Like a light switch, you don’t flip it, then submit it. The change takes effect right when you click. -
Switch states are persistent
A change to a toggle persists throughout all sessions until user flips the toggle again.
Behaviour
During the transition of a toggle, the process of loading the API is managed by utilizing the disabled states of the toggle. The disabled state serves as a control mechanism that temporarily restricts user interaction with the toggle while the API is being loaded.
