<div class="color-slider-container">
    <div class="swiper-container color-slider" data-slides="{{slidesCount}}" data-width="{{width}}">
        <div class="swiper-wrapper">
            {{#each colors}}
                {{#if href}}
                    <a href="{{href}}" class="color-slider__slide swiper-slide" tag-class="cta-kitchen-color-{{@index}}">
                        <div class="color-slider__color-preview {{#if bordered}}color-slider__color-preview_bordered{{/if}}"
                             style="background: {{color}}"></div>
                        <div class="color-slider__color-name">{{label}}
                        </div>
                    </a>
                {{else}}
                    <span class="color-slider__slide swiper-slide">
                        <div class="color-slider__color-preview {{#if bordered}}color-slider__color-preview_bordered{{/if}}"
                             style="background: {{color}}"></div>
                        <div class="color-slider__color-name">{{label}}
                        </div>
                    </span>
                {{/if}}
            {{/each}}
        </div>
    </div>
    <div class="color-slider__nav-btn color-slider__nav-btn_prev">
        <i class="far fa-angle-left"></i>
    </div>
    <div class="color-slider__nav-btn color-slider__nav-btn_next">
        <i class="far fa-angle-right"></i>
    </div>
</div>