The switch input component, also referred to as a toggle, allows the user to switch between “on” and “off” options.

The switch input component is used exclusively for user settings and configurations. Unlike the checkbox component, the switch component can only be ON or OFF. This component applies changes instantly once a switch has been toggled, without a submit button.