Introduction

Repeaters provide a way for you to add repeating content to a page. Repeaters consist of repeating items, each with the same layout but different data.

For example, the repeater below contains 3 items, each with the same layout. There's 1 image on the left and 2 text elements on the right. However, the data in each item is different. That is, the actual images and text values are different in each repeated item.

Repeater example

Populate your repeater with data using one of the following:

  • Connect each element contained within a repeater's items to a dataset in the editor. Click Connect to CMS and select your dataset. You only need to connect the elements in the first item and the connection automatically applies to all repeated items.
  • Use the data property to pass an array of items to the repeater. This data comes from your Wix site's collections or a third-party database. Then use forEachItem(), forItems(), and onItemReady() methods to display the data in each repeated item.

Get hands-on experience with repeaters on our Hello Repeaters example page.

Learn more about repeaters in Getting Started and on Wix Learn.

Did this help?