/bubble-tutorials

How to use widgets in Bubble.io: Step-by-Step Guide

Unlock the power of Bubble.io with our step-by-step guide on incorporating widgets effectively. Elevate your web projects effortlessly!

Matt Graham, CEO of Rapid Developers

Book a call with an Expert

Starting a new venture? Need to upgrade your web or mobile app? RapidDev builds Bubble apps with your growth in mind.

Book a free No-Code consultation

How to use widgets in Bubble.io?

 

Step 1:

Drag a Group Focus element onto your page. You can find it in the visual element section of the Bubble editor.

 

Step 2:

Set a reference element for your Group Focus. The reference element will determine where the Group Focus will appear on the page. For example, if you're creating a dropdown menu, you would set the icon that, when clicked, will show the dropdown as the reference element.

 

Step 3:

Adjust the position of the Group Focus relative to the reference element. This is usually done by specifying an offset in pixels. For instance, you might want an offset of -150 pixels to align the Group Focus with the left side of an icon if the icon is your point of reference.

 

Step 4:

Configure the conditions under which the Group Focus will remain visible. Group Focus is typically set to remain visible as long as it is in focus. This means it will stay on the screen until the user clicks elsewhere on the page.

 

Step 5:

Incorporate animations for showing and hiding the Group Focus. You can use actions like "Animate an element" to make the menu appear smoothly when the reference element (like an icon) is clicked. For the dropdown menu example, you can pick the SlideDownIn animation to give a natural feel to the menu appearance.

 

Step 6:

If you're using Group Focus within a repeating group, you'll need a workaround since Bubble doesn't allow for direct referencing of elements inside repeating group cells. Place the Group Focus and its reference element within a Reusable Element and then place that Reusable Element inside the Repeating Group. Configure the Reusable Element's "Type of content" and "Data source" to ensure it's functioning in the context of each repeating group cell.

 

Step 7:

Test your Group Focus by previewing your app. Click the reference element and check if the Group Focus shows up correctly, stays in focus as expected, and responds to clicks outside of it by disappearing.

 

Step 8:

Optimize your design and animations as needed for aesthetics and user experience. You can tweak position offsets, animation durations, and other settings to match the desired look and feel.

 

Explore More Valuable No-Code Resources

No-Code Tools Reviews

Delve into comprehensive reviews of top no-code tools to find the perfect platform for your development needs. Explore expert insights, user feedback, and detailed comparisons to make informed decisions and accelerate your no-code project development.

Explore

WeWeb Tutorials

Discover our comprehensive WeWeb tutorial directory tailored for all skill levels. Unlock the potential of no-code development with our detailed guides, walkthroughs, and practical tips designed to elevate your WeWeb projects.

Explore

No-Code Tools Comparison

Discover the best no-code tools for your projects with our detailed comparisons and side-by-side reviews. Evaluate features, usability, and performance across leading platforms to choose the tool that fits your development needs and enhances your productivity.

Explore

By clicking “Accept”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. View our Privacy Policy for more information.

Cookie preferences