<button
    class="btn {{#if primary}}btn-primary{{/if}} {{#if action}}btn-action{{/if}} {{#if
        secondary}}btn-secondary{{/if}} {{#if full}}btn_full{{/if}} {{#if icon}}btn--icon{{/if}} {{#if
        showLoader}}loading-button{{/if}} {{modification}}"
    type="{{#if type}}{{type}}{{else}}button{{/if}}"
>
  {{#if showLoader}}
    <span class="loading-button__text">
      {{#if icon}}
        <i class="{{icon}}"></i>
      {{/if}}
      {{text}}
    </span>

    <span class="loading-button__loader d-none">
      {{> loader modifier=loaderModifier}}
    </span>
  {{else}}
    {{#if icon}}
      <i class="{{icon}}"></i>
    {{/if}}
    {{text}}
  {{/if}}
</button>