Skip to main content

Switch

The Switch component is a simple and stylish way to toggle between two states — ON and OFF. Perfect for enabling features, toggling settings, and creating interactive forms.

Image

Properties

The following properties are available to configure the behavior of the component from the form editor (this is in addition to common properties).

Appearance

Size object

Select the size of the switch:

  • Default (default): The standard size for the switch.

  • Small: A compact version of the switch.