A slideshow component for cycling through elements—images or slides of text—like a carousel.

Adding a Swiper Component

  • Select the Swiper component from the Components drawer. You can open the list of components by clicking the + button next to Components.
  • Select the added component in the Components tree.
  • Select the Swiper Item from the Components drawer. In the example below, we're adding two Swiper Item components.
  • Select the Swiper component and go to the Styles tab. Under Selected Item > Flex, set the value to 1 to make it full screen.
  • Select the Swiper Item component and then add a child component to it such as Image or Image Background.

In the example below, we're creating an onboarding screen behaviour where an app user can swipe through items before moving on to the next screen.

📘

In order to swipe through images or text, a Swiper component must have at least two Swiper Item components.

Configuration Properties

PropertyDescription
Component NameTo alter the name of the component. The name is reflected in the Components tree. Defaults to Swiper.
Initial SlideInitial slide index. It starts from 0.
LoopEnables a continuous loop mood. By default, it is not enabled.
TimeoutDelay between auto-play transitions (in second). By default, set to 0.
VerticalBy default, the Swiper component displays content in the horizontal direction. If you want to display content in a Vertical direction, enable this option.
Previous TitlePrevious button title.
Next TitleNext button title.
Previous Title ColorSelect the color of the Previous button title.
Next Title ColorSelect the color of the Next button title.
Dot ColorTo select the color of Dots
Dot Active ColorTo select the color of the active Dot
Dots TouchableTouches over dots will move Swiper to the relative slide (previous or next). Enabled by default.

Data Properties

PropertyDescription
SwiperItem DataAn array of data to render for each Swiper Item

Conditional Display

You can conditionally display a component based on a given condition. Learn more about conditionally displaying components in the Conditional Display doc.

Triggers

Trigger nameDescription
On Index ChangedRuns the Actions when swiped
On Swiped NextRuns the Actions when swiped to the next item
On Swiped PreviousRuns the Actions when swiped to the previous item
On SwipeRuns the Actions when the element is swiped