Switch

Represents whether a function is activated or not (i.e. on or off).
Refinement Switch

Introduction

A switch behaves a bit like a checkbox - it can be on or off (i.e. checked or unchecked). The key difference is that a switch is not a true form control. It typically executes JavaScript on the client when toggled (i.e. without a full page reload) rather than storing form data to be sent to the server. If you require the switch to store data inside of a form, you may wish to consider using an actual checkbox instead.