Track & Thumb Control
The track and the circle are styled separately, so the switch can be subtle or high contrast without any CSS.
Newed UI - Component Library
NWD Toggle Switch (Customizable) is the switch Bubble was always missing. Built as a native-like yes/no input, it keeps its value even while hidden and brings flexible sizing, customizable colors, and click animations together in one polished component. Fully customizable through 20+ properties, giving you complete control over every visual and behavioral detail.
No data collected This plugin does not collect user data.
The track and the circle are styled separately, so the switch can be subtle or high contrast without any CSS.
Track background, track border, thumb and font colors set independently for the unchecked, hovered and checked states.
Small, medium and large presets keep the track, the circle and the travel distance in proportion at any scale.
Six animation styles on click, including bounce, elastic and pop, that respect the user's reduced motion setting.
Keyboard ready with Tab and Space, a visible focus ring, an accessible label and description, and reduced motion support.
Value changed event, Reset, Focus and Set value actions, and exposed states for the value, is clickable, is required, is valid and is focused.
Place the plugin element wherever you need it.
Adjust the settings to match your use case, including the label, the toggle size, the track and thumb colors of each state, and the default value.
Use the value changed event to react to the user, and read the exposed states to use the on or off value anywhere in your app.
The label uses Bubble's native font properties. The properties in this section control the track, the circle and the label colors for each state.
Bubble's native font alignment moves the whole element, the control and its label together, not just the text. Turn on 'Stretch label to fill the line' and the label takes the rest of the line instead, pushing the control to the opposite edge, with the same native alignment positioning the text inside it. For anything beyond that, wrap the element in a group and align the group.
Text shown next to the toggle.
defaultToggle label
Side of the label relative to the toggle.
rightleftdefaultright
The label fills the rest of the line, pushing it to the edge opposite the control, and the native font alignment then positions the text inside it. If disabled, the label hugs the control and the native font alignment moves the whole component instead.
defaultno
Size of the track and thumb.
smallmediumlargedefaultmedium
Animation played on the thumb when the toggle is clicked.
nonebounceelasticjellypoppulsedefaultbounce
Track background color when unchecked.
default#DEDEDE
Track border color when unchecked.
default#DEDEDE
Thumb color when unchecked.
default#FFFFFF
Track background color on hover, when the input is enabled and unchecked.
default#CACACA
Track border color on hover, when the input is enabled.
default#CACACA
Thumb color on hover, when the input is enabled and unchecked.
default#FFFFFF
Input font color on hover, when the input is enabled. Empty keeps the native font color.
defaultno default
optionalTrack background color when checked.
default#30B3FE
Track border color when checked.
default#30B3FE
Thumb color when checked.
default#FFFFFF
Input font color when checked. Empty keeps the native font color.
defaultno default
optionalValue applied on load and on reset. Yes means checked, no means unchecked.
defaultno
Disables the component, preventing any interaction.
defaultno
Opacity applied to the toggle when disabled, from 0 to 1. The toggle keeps the colors of its current state, so a checked one still reads as checked. The label is not affected and uses Input font color (disabled).
default0.5
Input font color when disabled.
default#CACACA
Marks the field as required and enables input validation.
defaultno
Track background color when invalid (required and unchecked).
default#FFDEDE
Track border color when invalid (required and unchecked).
default#FF6666
Input font color when invalid (required and unchecked). Empty keeps the native font color.
defaultno default
optionalName read by screen readers. When empty, uses the placeholder or the visible label.
defaultno default
optionalHint read by screen readers after the name. Empty for none.
defaultno default
optionalValues the element exposes for the rest of the page to read.
True when checked. Keeps the value while the element is hidden.
True when the component is not disabled.
True when the input is marked as required.
True when the field is not required, or when it is required and checked.
True while the element has keyboard focus. Tab in sets it, and Tab out or a click outside clears it.
Where a workflow can start.
Triggered when the toggle is checked or unchecked, including by reset.
What a workflow can tell the element to do.
The actions can be triggered from any workflow event. The plugin also responds to Bubble's native reset actions (Reset a group/popup).
Restores the default value.
Focuses the toggle.
Checks or unchecks the toggle from a workflow.
New value (yes turns it on, no turns it off). Empty counts as no.
defaultno default
Bubble has no toggle switch. Building one by hand means stacking groups, workflows and custom states, and the result is hard to reuse. This plugin is a single element that behaves like a real switch, keyboard included, and looks the same in every browser.
No. Place the element on the page, configure the properties in the editor, and connect it to your workflows. All properties have descriptions and sensible defaults, so you can get started quickly without deep technical knowledge.
Yes. The plugin exposes a Focus action and a Reset action, and it also responds to Bubble's native reset actions (Reset a group/popup). Both are ignored while the input is disabled.
Yes. The visual properties support Bubble's predefined styles, so the size, the track and thumb colors and the animation can be saved once and reused on every toggle in the app.