Learn how to build a media slider in Bubble with simple steps, essential plugins, and tips to create smooth, responsive image and video carousels.

Starting a new venture? Need to upgrade your web or mobile app? RapidDev builds Bubble apps with your growth in mind.
A simple and reliable way to build a media slider in Bubble is to use a Repeating Group that displays a list of images or videos, and then control which item is visible by changing a custom state (for example, “current_index”). When the user taps next/previous arrows, you update that custom state, and the Repeating Group scrolls to the corresponding cell. This works with Bubble’s native elements, no plugins required.
The idea is: you load a list of media files into a Repeating Group, set the RG to show them horizontally, and use a custom state to “move” to the next or previous item. The user sees only one item at a time because the RG has a fixed cell width equal to the slider’s width.
// Example of a Next button workflow
// Step 1: Set state RG Media's current_index = RG Media's current_index + 1
// Step 2: Scroll to entry in RG Media: entry = RG Media's current_index
Make sure the RG’s data source is the list you want to show (for example, Current Page Product’s Media). To avoid out-of-range scrolls, add conditions to the buttons, such as hiding the Next button when current\_index = RG’s list of items:count.
Learn how to seamlessly integrate Bubble.io with Git through our comprehensive step-by-step guide. Perfect for beginners and professionals.
Learn how to seamlessly integrate Bubble.io with Reddit Ads using our easy step-by-step guide. Boost your ad management today!
Explore our step-by-step guide on integrating Bubble.io with AWS S3, making your app development process more efficient and secure.
Follow our step-by-step guide to seamlessly integrate Bubble.io with Lucidchart, enhancing your workflow & productivity.
Learn how to seamlessly integrate Bubble.io and Kentico with our comprehensive, easy to follow step-by-step guide.
Discover easy-to-follow steps for integrating Bubble.io with Box. Boost your workflow and secure your files seamlessly today.
Fix broken workflows | Optimize logic | Boost performance | Scale with confidence