Skip to content

Repeater

A container component that repeats its child components based on a dictionary.

Fields

NameTypeDescriptionOptions
Repeater objectObjectInclude a state reference to the dictionary used for repeating the child components. Alternatively, specify a JSON object.
Key variable nameTextSet the name of the variable that will store the key of the current repeater object entry.
Value variable nameTextSet the name of the variable that will store the value of the current repeater object entry.

Low code usage

This component can be declared directly in Python, using backend-driven UI.

python
ui.Repeater(content={
        "repeaterObject": {}, # Union[Dict, str] 
        "keyVariable": "", # str 
        "valueVariable": "", # str 
    }
)

Reference