Skip to content

Toggle Switch ​

The Toggle Switch element provides an iOS-style sliding on/off control with customizable colors, sizes, and labels.


Overview ​

Toggle switches are a visually clear alternative to checkboxes for binary choices. The sliding animation provides immediate feedback when users change a value.


Adding a Toggle Switch ​

  1. Open the Website Builder
  2. Find Toggle Switch in the Elements panel (under Input)
  3. Drag it onto your page
  4. Configure the switch in the General Tab

Properties ​

General Tab ​

PropertyDescriptionDefault
LabelText label displayed alongside the switchToggle
Label PositionWhere the label appears: left, right, top, bottomleft
Off LabelText shown next to the switch when offEmpty
On LabelText shown next to the switch when onEmpty
SizeSwitch size: small, medium, largemedium
On ColorTrack color when the switch is on#22AD41
Off ColorTrack color when the switch is off#cccccc
Default ValueInitial state: on or offfalse (off)
DisabledPrevent user interactionfalse

Size Reference ​

SizeTrack WidthTrack Height
Small36px20px
Medium48px26px
Large60px32px

Use Cases ​

  • Settings pages -- enable/disable features or preferences
  • Dark mode toggle -- switch between light and dark themes
  • Notifications -- turn alerts on or off
  • Form fields -- any binary yes/no choice where visual feedback matters

Questions? ​

If you have any questions, please don't hesitate to contact us.

No-Code App Builder