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

📘

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

Style Properties

Style properties allow you to customize the look and feel of the component. Combinations of styles applied to components can be saved as Stylesheets to easily reuse styles throughout your app. Styles can also be set dynamically using Variables. To learn more about all the different styling properties and how they work, take a look at Intro to Styling.

Component Specific Styles

PropertyDescription
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

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.
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 the index changes
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

Actions

PropertyDescription
Swipe NextSwipes to the next item in the Swiper
Swipe PreviousSwipes to the previous item in the Swiper
Swipe ToSwipes to a specific item in the Swiper based on its index within the Swiper