Skip to main content
Switch 05

Overview

Switch 05 is a toggle switch component that allows users to activate or deactivate a boolean state. It consists of a pill-shaped toggle track with a circular thumb that slides between left (Off) and right (On) positions, accompanied by a label that updates accordingly. The active state is managed via a custom state on the parent group.

How to use

1

Open the Brikl panel

Navigate to the Elements category in the Brikl panel.
2

Copy the component

Find Switch 05 and click Copy.
3

Paste into your editor

Paste it into your Bubble canvas with Cmd + V (Mac) or Ctrl + V (Windows), or right-click on the canvas and select Paste.

States

This component includes conditional states that automatically change its appearance.
StateTriggerVisual effect
Off (default)Custom state ‘active_’ is false on the parent groupSwitch background is gray (rgba(216,211,212,1)), thumb aligned to the left, label displays ‘Off’
On (active)Custom state ‘active_’ is true on the parent groupSwitch background changes to dark (rgba(27,23,24,1)), thumb aligns to the right, label displays ‘On’
These states are handled natively by Bubble and require no additional setup. They will work automatically once the component is pasted into your editor.

Responsive

This component adapts to mobile screens. Font sizes and layout automatically adjust on screens smaller than Bubble’s built-in mobile breakpoint.

Workflows

This component includes pre-built workflows.
TriggerAction
GP - Switch 05 is clicked (when active_ is false)Sets custom state ‘active_’ to true on the parent group, turning the switch On
GP - Switch 05 is clicked (when active_ is true)Sets custom state ‘active_’ to false on the parent group, turning the switch Off
These workflows are included when you use the Copy with Workflows option in the Brikl panel.

Requirements

LicenseStarter plan required
PluginsNone
Custom codeNot required

Platforms

PlatformSupported
Web
Mobile

License

This component requires a Starter plan.