Switch

The Switch Input component, also referred to as a toggle, is used exclusively for user settings and configurations. It allows the user to switch from one option to another. Settings are instantly applied once a Switch has been toggled.

Unlike the Checkbox component, the Switch component can only be ON or OFF. This component applies changes instantly without a submit Button.

You may wish to disable a Switch input to prevent a user from toggling the Switch while some task is being completed, or to restrict a user's access.