Carousel slider
Slides a collection of containers horizontally.

👉 The Tag

Slides a collection of containers horizontally. The slider can have different animations, depending on the tag placed (see section below).
📍 Where to add the tag: A second-level container

🏷️ Animation Tags

Each tag is a different animation. In the tabs below you can discover all of them!
Default
Crossfade
Cube
Pager
Parallax
Rotate
Zoom
Horizontal
1
[container:slider:default]
Copied!
1
[container:slider:crossfade]
Copied!
1
[container:slider:cube]
Copied!
1
[container:slider:pager]
Copied!
1
[container:slider:parallax]
Copied!
1
[container:slider:rotate]
Copied!
1
[container:slider:zoom]
Copied!
1
[container:slider:horizontal]
Copied!

🏷️ Optional Tags

You can add as many of these tags as you want to the slider container.
Slider Indicator
Infinite slide
Automatic slide
1
[slider-indicator:#FFFFFF]
Copied!
Adds a dots indicator at the bottom of the slide container, with the specified color (use HEX code).
📍 Where to add the tag: on the same layer as the [container:slider] tag.
This tag is supported for all slider animations except for [container:slider:horizontal].
1
[slider-infinite]
Copied!
After the last slide, the first slide will be shown, so user can swipe in one direction infinitely.
📍 Where to add the tag: on the same layer as the [container:slider] tag.
1
[slider-automatic]
Copied!
Slider will move automatically every 5 seconds.
📍 Where to add the tag: on the same layer as the [container:slider] tag.

🏷️ How to add the tag

  1. 1.
    Create a slide design with your slides lined up next to each other horizontally, with each "slide" in its separate container. If you want to connect your slider to a list of data from API, see step 5.
Only the [container:slider:horizontal] (i.e. horizontal scroll) allows for slides that are smaller than the width of the screen. All other slide effects must have individual slides that stretches the full width of the screen.
If your design has slides smaller than the width of the screen, use [container:slider:horizontal].
2. Create a container around the slider design that contains all of your slides and is the full width of the screen. Similar to how you set up overflow behaviour for Figma prototype.
Container setup for slides the full width of the app screen.
Container setup for slides smaller than the width of the app screen.
3. Paste the slide animation Tag of your choice to the layer name of this container.
4. Import to Bravo & preview on Bravo Vision 🚀
5. If you want to connect API data to your slider, you only need to create the first slide as a placeholder design.
6. Then connect your list of data the same way you would with a vertical scrolling list (tutorial here). However, you need to connect the data array to the individual slide element, rather than the 2nd-level container.
7. If you want each slide to open another page, make sure you link the individual slide element to the other page.
8. Preview on Bravo Vision 🚀
You cannot use the [flexo] tag in a slider, as all slides need to have the same fixed size.

💾 Example files

Duplicate the files below to see how to set it up!
Bravo sample: Horizontal Sliders
Figma
Bravo Sample - Horizontal Sliders.xd.zip
653KB
Binary
Bravo Sample - Horizontal Sliders.xd
Last modified 16d ago