Skip to main content

Repeater

The Repeater block iterates over an array from the replacements context and renders its template elements once per item. It supports scoped variable injection, separators, empty states, and horizontal/vertical layouts.

Properties

Basic Usage

With replacements:
Renders:

Scoped Variables

Each iteration creates a scoped replacements context:
  • {item.property} — Access properties of the current array item (or use a custom variable name via item_variable)
  • {index} — The 0-based iteration index (or use a custom name via index_variable)
  • Parent replacements — All parent-level replacements remain accessible (e.g., {company_name})
For primitive arrays (strings, numbers), {item} resolves to the value directly.

With Separator and Empty State

Horizontal Layout

Nested Repeaters

Repeaters can be nested for multi-level data:

Builder Integration

In the WYSIWYG builder:
  1. Drag Repeater from the Layout category in the block library
  2. Configure the Data Source key in the properties panel
  3. Toggle between Template and Empty State views using the header buttons
  4. Add blocks to the template — they will be repeated for each array item
  5. Use the Replacements panel to provide preview data, then switch to Preview mode

Nesting Rules

A repeater can appear in:
  • Root level
  • Section
  • Wizard Step
  • Column
  • Another Repeater
Inside a repeater’s template, all content blocks are allowed:
  • Heading, Text, Alert, Lists, Column Layout, Section, Actions, Form, Button, Block Replacement, nested Repeater