Overview
Switch 10 is a styled toggle component displayed as a card with a border and shadow. It includes an icon (image), a title, a sublabel, and a description text, alongside a visual toggle switch on the right. It is designed for settings or preference screens where users can enable or disable an option with clear labeling and branding context.
How to use
Open the Brikl panel
Navigate to the Elements category in the Brikl panel.
Copy the component
Find Switch 10 and click Copy.
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.
| State | Trigger | Visual effect |
|---|
| Active (ON) | User clicks the group when custom state ‘active_’ is false | Sets custom state ‘active_’ to true; toggle background changes to dark (rgba(27,23,24,1)) and the toggle knob shifts to the right (flex-end alignment); card border color also changes to dark |
| Inactive (OFF) | User clicks the group when custom state ‘active_’ is true | Sets custom state ‘active_’ to false; toggle background reverts to light gray (rgba(216,211,212,1)) and the toggle knob returns to the left (flex-start alignment) |
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.
| Trigger | Action |
|---|
| GP - Switch 10 is clicked (when active_ is false) | Sets custom state ‘active_’ on element bTJyK to true (turns switch ON) |
| GP - Switch 10 is clicked (when active_ is true) | Sets custom state ‘active_’ on element bTJyK to false (turns switch OFF) |
These workflows are included when you use the Copy with Workflows option in the Brikl panel.
Requirements
| |
|---|
| License | Starter plan required |
| Plugins | None |
| Custom code | Not required |
| Platform | Supported |
|---|
| Web | ✅ |
| Mobile | ✅ |
License
This component requires a Starter plan.