Skip to main content
More in Learn

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.

People showing thumbs up

Need further assistance?

Ask the Crystallize team or other enthusiasts in our slack community.

Join our slack community