<div {{ attributes }}>
      <ul>
         {% for id, item in this.menu %}
         <li class="item-{{ id }}">
            <a href="{{ item.url }}" title="{{ item.title }}" {% if item.active ?? false %}class="active"{% endif %}>
               {% if loop.last and type == 'arrows' %}
                  <twig:ux:icon name="logout" class="c-icon arrow-icon"/>
               {% elseif loop.last %}
                  <twig:ux:icon name="logout" class="c-icon"/>
               {% elseif type == 'arrows' %}
                  <twig:ux:icon name="caret-right" class="c-icon arrow-icon"/>
               {% endif %}
               {{ item.title }}{% if item.count is defined %} <span>({{ item.count }})</span>{% endif %}
            </a>
         </li>
         {% endfor %}
      </ul>
</div>
