An On/off control that toggles the state of a single settings option. The option that the toggle controls, as well as the state it’s in, should be made clear from the corresponding inline label. Toggles take on the same visual properties of the radio button.
In the next example we will show you how you can change the attributes of the slide toggle.