<div {{ attributes.defaults({class: this.class}) }}>
   <a role="button"
         {% if this.type == 'favorites' %}
      data-wpj-modal="{{ path('kupshop_components_modal_modal', {template: 'login'}) }}"
      data-wpj-modal-type="side"
         {% endif %}>
      <twig:ux:icon name="{{ this.icon }}" class="c-icon"/>
      {% if this.title %}
         <span>{{ this.title }}</span>
      {% endif %}
   </a>
</div>
