<div class="ui secondary segment">
    <div class="ui centered grid">
        {% for item in element.collection %}
            <div class="column">
                <{% if item.link is defined and item.link.link is not empty %}a href="{{ item.link.link }}"{% else %}div{% endif %} class="block-icon-text">
                    <i class="icon {{ item.icon.icon }}"></i>
                    {{ item.text.content|raw }}
                    </{% if item.link is defined and item.link.link is not empty %}a{% else %}div{% endif %}>
            </div>
        {% endfor %}
    </div>
</div>

{% if element.width is defined %}
    <div class="ui divider"></div>
    <div class="ui label"><i class="arrows alternate horizontal icon"></i> {{ element.width }}%</div>
{% endif %}
