Docs
BlupLearnSupportDownload
  • Home 🏠
  • Wiki
    • Design (UI) ✏️
      • Blup Top Bar
      • Blup Menu Bar
      • Pages/Layers Panel
      • Toolkit
      • Insert Panel
        • TextField Widget
        • Progress Widget
        • FAB Widget
        • Icon Widget
        • Lottie Animation Widget
        • Text Button Widget
        • Appbar Widget
        • Checkbox Widget
        • Switch Widget
        • Slider Widget
        • Radio Widget
        • Progress bar Widget
        • Multi choice dialog Widget
        • Web View Widget
        • Camera View Widget
        • Map View Widget
        • Date Picker Widget
        • Time Picker Widget
        • IOS Date Picker Widget
        • IOS Timer Widget
        • Alert Dialog box Widget
        • Dropdown Menu Widget
      • Properties Panel
        • Pages Properties
        • Text Properties
        • List Properties
        • Rectangle Properties
      • Page Canvas
      • Choose from Assets
      • Right-Click Menu in Design
      • How to use navigate page in Blup
    • Logics ⚡
      • UI Nodes
        • Rectangle UI Node
        • Text UI Node
        • Group UI Node
        • List UI Node
        • Page ListView UI Node
      • Helper Nodes
        • Boolean Nodes
        • Date Time Nodes
        • Double Nodes
        • Duration Nodes
        • Integers Nodes
        • Json Nodes
        • List Nodes
        • Map Nodes
        • String Nodes
      • Variables Node Section
      • Function Node Section
      • Maths Node Section
      • Flow Control Section
      • Relational Operators Section
      • Logical Operators Section
      • System Node Section
      • SDK Library Section
      • Blup Sheet API Node Section
    • Backend 🔗
      • Sheets
      • SQL
    • Blup Code Editor
      • File Explorer
      • Editor Area
    • Publish to stores 🚀(Ship)
      • iOS Cloud Build 😮‍💨
        • Configure ⚙️
        • Run ▶️
      • Play Store
    • Build Your First App
      • TODO App
  • Blup Settings
  • Import from Figma
  • How to use WebView in Blup
  • How to use Google Maps in Blup
  • How to use the camera in blup?
  • How to add Splash screen in Blup?
  • How to know Debug prints in blup
  • How to use Google sign in in Blup
  • Creating sign up/ sign in in Blup
Powered by GitBook
On this page
  • Components of Switch Widget
  • Music to go with.

Was this helpful?

Edit on GitHub
  1. Wiki
  2. Design (UI) ✏️
  3. Insert Panel

Switch Widget

Implement toggle switches in Blup for users to easily switch settings and features within your application.

PreviousCheckbox WidgetNextSlider Widget

Last updated 1 year ago

Was this helpful?

Switch widget is used to create a toggle switch that allows users to toggle between two states: on and off. It's commonly used to represent binary options such as enabling/disabling a feature or setting.

To integrate a Switch Widget into your UI, follow these steps:

1. Drag the Switch widget from the Insert menu and drop it into your desired location within your UI.

2. Customize the appearance and behavior of the Switch by adjusting its properties in the editing section on the right. You can modify properties such as color, size, and shape to match your UI design. Change the color according to your needs by adjusting the activeColor and inactiveTrackColor properties.

Components of Switch Widget

Component
Description

Align Icons

Click icons or use shortcut keys to align Switch Widget. For example, click "Align Left" or use Ctrl+Shift+Left to left-align Switch Widget.

Postitions

Set Switch Widget positions on the X and Y axis of the mobile canvas.

Margin

Adjust Switch Widget margin from top, bottom, left, or right by specifying margin values.

Swtich value

Make the Switch on and off by marking the checkbox.

Thumb Color

It will give color to the round thumb inside the Switch Widget.

Focus Color

Give it a color according to your need when switch is Focused

Hover Color

Give it a color according to your need when the user hovers a cursor on the Switch; it will change color.

Active Color

This will give the color to your track of Switch when it is active.

Inactive Track Color

This will give the color to your track of Switch when it is inactive.

Inactive Thumb Color

This will give the color to your thumb of Switch when it is inactive.

Visible

By checking the checkbox the entire selected Switch widget will be hidden.

Music to go with.

If you have any ideas to make Blup better you can share them through our

Discord community channel
Switch
Switch
Lofi music