Switch component
The switch component holds a boolean state: yes or no.
Switching on and off
The switch component is easily switched on and off by clicking, allowing you to manage boolean states in a semantically described component.
For example, if you’re selling cars, you can use the switch component to indicate if the car is electric. For an online magazine, you could use this component to determine whether an article should be available for free.