The Twital instruction for Twig’s for tag is the t:for attribute.

Loop over each item in a sequence. For example, to display a list of users provided in a variable called users:

    <li t:for="user in users">
        {{ user.username }}


For more information about the for tag, please refer to Twig official documentation.