Slider

Using the slider item component

By using the slider item component you can create a slider with ease

Base Layout

Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!

Read more

Base Layout

Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!

Read more

Base Layout

Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!

Base Layout

Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!

Base Layout

Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!

<div class="c-slider c-slider--16-9 c-slider__navigation--hover c-slider--shadow c-slider--has-stepper" data-step="0" js-slider="0" js-slider-index="0" data-slider-loop="1" data-slider-gap="2" id="673ed27a0a76e0.34386637" data-uid="673ed27a0a78a">

            <div class="splide__arrows c-slider__arrows">
                <button class="c-button splide__arrow splide__arrow--prev c-button__filled c-button__filled--primary c-button--md c-button--icon-only" target="_top" aria-label="keyboard_arrow_left" type="button" data-uid="673ed27a0a7d3">   
     <span class="c-button__label">         
                    <span class="c-button__label-icon ">
                    <!-- icon.blade.php -->
    <span class="c-icon c-icon--keyboard-arrow-left c-icon--material c-icon--material-keyboard_arrow_left material-symbols material-symbols-rounded material-symbols-sharp material-symbols-outlined  c-icon--size-md" aria-hidden="false" material-symbol="keyboard_arrow_left" role="img" data-nosnippet="" translate="no" aria-label="Icon: Undefined" alt="Icon: Undefined" data-uid="673ed27a0a811">
                    </span>
            </span>
        
        
    </span> </button>                <button class="c-button splide__arrow splide__arrow--next c-button__filled c-button__filled--primary c-button--md c-button--icon-only" target="_top" aria-label="keyboard_arrow_right" type="button" data-uid="673ed27a0a85c">   
     <span class="c-button__label">         
                    <span class="c-button__label-icon ">
                    <!-- icon.blade.php -->
    <span class="c-icon c-icon--keyboard-arrow-right c-icon--material c-icon--material-keyboard_arrow_right material-symbols material-symbols-rounded material-symbols-sharp material-symbols-outlined  c-icon--size-md" aria-hidden="false" material-symbol="keyboard_arrow_right" role="img" data-nosnippet="" translate="no" aria-label="Icon: Undefined" alt="Icon: Undefined" data-uid="673ed27a0a895">
                    </span>
            </span>
        
        
    </span> </button>        </div>
    
        <div class="c-slider__container splide__track">
            <div class="c-slider__inner splide__list" js-slider-inner>
                <!-- slider__item.blade.php -->
<section class="c-slider__item splide__slide u-color__bg--darkest c-slider__item--layout-center c-slider__item--overlay-none c-slider__item--hero" aria-labeledby="673ed27a09fc8__heading" data-uid="673ed27a09fc8">
    
    
    
            <div class="c-slider__item__container">
            

                                <!-- typography.blade.php (promoted) (hasSeenH1)  original: h2 -->
<h1 class="c-typography c-slider__item__heading c-typography__variant--h2" data-uid="673ed27a0a05c">
    Base Layout
</h1>            
                                <!-- typography.blade.php  (hasSeenH1)  original: p -->
<p class="c-typography c-slider__item__body  c-typography__variant--body" data-uid="673ed27a0a09e">
    Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!
</p>            
            
                                <a class="c-button c-slider__item__cta c-button__filled c-button__filled--default c-button--md" target="_top" type="button" href="https://www.helsingborg.se" aria-label="Read more" data-uid="673ed27a0a101">   
     <span class="c-button__label">         
                    <span class="c-button__label-icon ">
                    <!-- icon.blade.php -->
    <span class="c-icon c-icon--arrow-forward c-icon--material c-icon--material-arrow_forward material-symbols material-symbols-rounded material-symbols-sharp material-symbols-outlined  c-icon--size-md" aria-hidden="false" material-symbol="arrow_forward" role="img" data-nosnippet="" translate="no" aria-label="Icon: Undefined" alt="Icon: Undefined" data-uid="673ed27a0a1f5">
                    </span>
            </span>
        
                    <span class="c-button__label-text ">
                Read more
            </span>
        
    </span> </a>                        
        </div>
    

    </section>
        <!-- slider__item.blade.php -->
<section class="c-slider__item splide__slide u-color__bg--darkest c-slider__item--layout-bottom c-slider__item--overlay-none" aria-labeledby="673ed27a0a251__heading" data-uid="673ed27a0a251">
    
    
    
            <div class="c-slider__item__container">
            

                                <!-- typography.blade.php  (hasSeenH1)  original: h2 -->
<h2 class="c-typography c-slider__item__heading c-typography__variant--h2" data-uid="673ed27a0a295">
    Base Layout
</h2>            
                                <!-- typography.blade.php  (hasSeenH1)  original: p -->
<p class="c-typography c-slider__item__body  c-typography__variant--body" data-uid="673ed27a0a2cb">
    Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!
</p>            
            
                                <a class="c-button c-slider__item__cta c-button__filled c-button__filled--default c-button--md" target="_top" type="button" href="https://www.helsingborg.se" aria-label="Read more" data-uid="673ed27a0a307">   
     <span class="c-button__label">         
                    <span class="c-button__label-icon ">
                    <!-- icon.blade.php -->
    <span class="c-icon c-icon--arrow-forward c-icon--material c-icon--material-arrow_forward material-symbols material-symbols-rounded material-symbols-sharp material-symbols-outlined  c-icon--size-md" aria-hidden="false" material-symbol="arrow_forward" role="img" data-nosnippet="" translate="no" aria-label="Icon: Undefined" alt="Icon: Undefined" data-uid="673ed27a0a345">
                    </span>
            </span>
        
                    <span class="c-button__label-text ">
                Read more
            </span>
        
    </span> </a>                        
        </div>
    

    </section>
        <!-- slider__item.blade.php -->
<section class="c-slider__item splide__slide u-color__bg--transparent c-slider__item--layout-center c-slider__item--overlay-light" aria-labeledby="673ed27a0a395__heading" data-uid="673ed27a0a395">
    
    
    
            <div class="c-slider__item__container">
            

                                <!-- typography.blade.php  (hasSeenH1)  original: h2 -->
<h2 class="c-typography c-slider__item__heading c-typography__variant--h2" data-uid="673ed27a0a3d2">
    Base Layout
</h2>            
                                <!-- typography.blade.php  (hasSeenH1)  original: p -->
<p class="c-typography c-slider__item__body  c-typography__variant--body" data-uid="673ed27a0a404">
    Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!
</p>            
            
                        
        </div>
    

    </section>
        <!-- slider__item.blade.php -->
<section class="c-slider__item splide__slide u-color__bg--lightest c-slider__item--layout-bottom c-slider__item--overlay-none" aria-labeledby="673ed27a0a437__heading" data-uid="673ed27a0a437">
    
    
    
            <div class="c-slider__item__container">
            

                                <!-- typography.blade.php  (hasSeenH1)  original: h2 -->
<h2 class="c-typography c-slider__item__heading c-typography__variant--h2" data-uid="673ed27a0a470">
    Base Layout
</h2>            
                                <!-- typography.blade.php  (hasSeenH1)  original: p -->
<p class="c-typography c-slider__item__body  c-typography__variant--body" data-uid="673ed27a0a49f">
    Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!
</p>            
            
                        
        </div>
    

    </section>
        <!-- slider__item.blade.php -->
<section class="c-slider__item splide__slide u-color__bg--darkest c-slider__item--layout-center c-slider__item--overlay-none" aria-labeledby="673ed27a0a4cf__heading" data-uid="673ed27a0a4cf">
    
    
    
            <div class="c-slider__item__container">
            

                                <!-- typography.blade.php  (hasSeenH1)  original: h2 -->
<h2 class="c-typography c-slider__item__heading c-typography__variant--h2" data-uid="673ed27a0a507">
    Base Layout
</h2>            
                                <!-- typography.blade.php  (hasSeenH1)  original: p -->
<p class="c-typography c-slider__item__body  c-typography__variant--body" data-uid="673ed27a0a535">
    Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!
</p>            
            
                        
        </div>
    

    </section>
            </div>
        </div>
    
        
        
        </div>
@slider([
    'showStepper' => true,
    'autoSlide' => false,
])
    @slider__item([
        'title' => 'Base Layout',
        'text' => 'Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!',
        'layout' => 'center',
        'containerColor' => 'darkest',
        'image' => 'https://picsum.photos/1080/720',
        'heroStyle' => true,
        'cta' => [
            'title' => 'Read more',
            'href' => 'https://www.helsingborg.se',
        ]
    ])
    @endslider__item

    @slider__item([
        'title' => 'Base Layout',
        'text' => 'Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!',
        'layout' => 'bottom',
        'containerColor' => 'darkest',
        'image' => 'https://picsum.photos/1080/720',
        'cta' => [
            'title' => 'Read more',
            'href' => 'https://www.helsingborg.se',
        ]
    ])
    @endslider__item

    @slider__item([
        'title' => 'Base Layout',
        'text' => 'Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!',
        'layout' => 'center',
        'containerColor' => 'transparent',
        'image' => 'https://picsum.photos/1080/720',
        'overlay' => 'light',
    ])
    @endslider__item

    @slider__item([
        'title' => 'Base Layout',
        'text' => 'Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!',
        'layout' => 'bottom',
        'containerColor' => 'lightest',
        'image' => 'https://picsum.photos/1080/720',
        'video' => 'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4',
    ])
    @endslider__item

    @slider__item([
        'title' => 'Base Layout',
        'text' => 'Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!',
        'containerColor' => 'darkest',
        'layout' => 'center',
    ])
    @endslider__item
@endslider

Single slide

Base Layout

Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!

<div class="c-slider c-slider--16-9 c-slider__navigation--hover c-slider--shadow c-slider--has-stepper" data-step="0" js-slider="0" js-slider-index="0" data-slider-loop="1" data-slider-gap="2" id="673ed27a0ad081.57416751" data-uid="673ed27a0ad13">

            <div class="splide__arrows c-slider__arrows">
                <button class="c-button splide__arrow splide__arrow--prev c-button__filled c-button__filled--primary c-button--md c-button--icon-only" target="_top" aria-label="keyboard_arrow_left" type="button" data-uid="673ed27a0ad4c">   
     <span class="c-button__label">         
                    <span class="c-button__label-icon ">
                    <!-- icon.blade.php -->
    <span class="c-icon c-icon--keyboard-arrow-left c-icon--material c-icon--material-keyboard_arrow_left material-symbols material-symbols-rounded material-symbols-sharp material-symbols-outlined  c-icon--size-md" aria-hidden="false" material-symbol="keyboard_arrow_left" role="img" data-nosnippet="" translate="no" aria-label="Icon: Undefined" alt="Icon: Undefined" data-uid="673ed27a0ad86">
                    </span>
            </span>
        
        
    </span> </button>                <button class="c-button splide__arrow splide__arrow--next c-button__filled c-button__filled--primary c-button--md c-button--icon-only" target="_top" aria-label="keyboard_arrow_right" type="button" data-uid="673ed27a0adca">   
     <span class="c-button__label">         
                    <span class="c-button__label-icon ">
                    <!-- icon.blade.php -->
    <span class="c-icon c-icon--keyboard-arrow-right c-icon--material c-icon--material-keyboard_arrow_right material-symbols material-symbols-rounded material-symbols-sharp material-symbols-outlined  c-icon--size-md" aria-hidden="false" material-symbol="keyboard_arrow_right" role="img" data-nosnippet="" translate="no" aria-label="Icon: Undefined" alt="Icon: Undefined" data-uid="673ed27a0ae01">
                    </span>
            </span>
        
        
    </span> </button>        </div>
    
        <div class="c-slider__container splide__track">
            <div class="c-slider__inner splide__list" js-slider-inner>
                <!-- slider__item.blade.php -->
<section class="c-slider__item splide__slide u-color__bg--transparent c-slider__item--layout-center c-slider__item--overlay-none c-slider__item--hero" aria-labeledby="673ed27a0ac61__heading" data-uid="673ed27a0ac61">
    
    
    
            <div class="c-slider__item__container">
            

                                <!-- typography.blade.php  (hasSeenH1)  original: h2 -->
<h2 class="c-typography c-slider__item__heading c-typography__variant--h2" data-uid="673ed27a0aca8">
    Base Layout
</h2>            
                                <!-- typography.blade.php  (hasSeenH1)  original: p -->
<p class="c-typography c-slider__item__body  c-typography__variant--body" data-uid="673ed27a0acda">
    Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!
</p>            
            
                        
        </div>
    

    </section>
            </div>
        </div>
    
        
        
        </div>
@slider([
    'showStepper' => true,
    'autoSlide' => false,
])
    @slider__item([
        'title' => 'Base Layout',
        'text' => 'Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!',
        'layout' => 'center',
        'containerColor' => 'transparent',
        'image' => 'https://picsum.photos/720/720',
        'heroStyle' => true
    ])
    @endslider__item
@endslider

Repeat slide

Base Layout

Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!

Base Layout

Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!

Base Layout

Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!

Base Layout

Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!

Base Layout

Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!

<div class="c-slider c-slider--16-9 c-slider__navigation--hover c-slider--shadow c-slider--has-stepper" data-step="0" js-slider="0" js-slider-index="0" data-slider-loop="1" data-slider-gap="2" id="673ed27a0b3146.89291975" data-uid="673ed27a0b320">

            <div class="splide__arrows c-slider__arrows">
                <button class="c-button splide__arrow splide__arrow--prev c-button__filled c-button__filled--primary c-button--md c-button--icon-only" target="_top" aria-label="keyboard_arrow_left" type="button" data-uid="673ed27a0b35a">   
     <span class="c-button__label">         
                    <span class="c-button__label-icon ">
                    <!-- icon.blade.php -->
    <span class="c-icon c-icon--keyboard-arrow-left c-icon--material c-icon--material-keyboard_arrow_left material-symbols material-symbols-rounded material-symbols-sharp material-symbols-outlined  c-icon--size-md" aria-hidden="false" material-symbol="keyboard_arrow_left" role="img" data-nosnippet="" translate="no" aria-label="Icon: Undefined" alt="Icon: Undefined" data-uid="673ed27a0b395">
                    </span>
            </span>
        
        
    </span> </button>                <button class="c-button splide__arrow splide__arrow--next c-button__filled c-button__filled--primary c-button--md c-button--icon-only" target="_top" aria-label="keyboard_arrow_right" type="button" data-uid="673ed27a0b3da">   
     <span class="c-button__label">         
                    <span class="c-button__label-icon ">
                    <!-- icon.blade.php -->
    <span class="c-icon c-icon--keyboard-arrow-right c-icon--material c-icon--material-keyboard_arrow_right material-symbols material-symbols-rounded material-symbols-sharp material-symbols-outlined  c-icon--size-md" aria-hidden="false" material-symbol="keyboard_arrow_right" role="img" data-nosnippet="" translate="no" aria-label="Icon: Undefined" alt="Icon: Undefined" data-uid="673ed27a0b412">
                    </span>
            </span>
        
        
    </span> </button>        </div>
    
        <div class="c-slider__container splide__track">
            <div class="c-slider__inner splide__list" js-slider-inner>
                <!-- slider__item.blade.php -->
<section class="c-slider__item splide__slide u-color__bg--none c-slider__item--text-align-center c-slider__item--layout-center c-slider__item--overlay-dark c-slider__item--hero" aria-labeledby="673ed27a0b01c__heading" data-uid="673ed27a0b01c">
    
    
    
            <div class="c-slider__item__container">
            

                                <!-- typography.blade.php  (hasSeenH1)  original: h2 -->
<h2 class="c-typography c-slider__item__heading c-typography__variant--h2" data-uid="673ed27a0b05c">
    Base Layout
</h2>            
                                <!-- typography.blade.php  (hasSeenH1)  original: p -->
<p class="c-typography c-slider__item__body  c-typography__variant--body" data-uid="673ed27a0b08f">
    Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!
</p>            
            
                        
        </div>
    

    </section>
        <!-- slider__item.blade.php -->
<section class="c-slider__item splide__slide u-color__bg--theme c-slider__item--layout-bottom c-slider__item--overlay-light" aria-labeledby="673ed27a0b0c1__heading" data-uid="673ed27a0b0c1">
    
    
    
            <div class="c-slider__item__container">
            

                                <!-- typography.blade.php  (hasSeenH1)  original: h2 -->
<h2 class="c-typography c-slider__item__heading c-typography__variant--h2" data-uid="673ed27a0b0fa">
    Base Layout
</h2>            
                                <!-- typography.blade.php  (hasSeenH1)  original: p -->
<p class="c-typography c-slider__item__body  c-typography__variant--body" data-uid="673ed27a0b12a">
    Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!
</p>            
            
                        
        </div>
    

    </section>
        <!-- slider__item.blade.php -->
<section class="c-slider__item splide__slide u-color__bg--none c-slider__item--layout-center c-slider__item--overlay-light" aria-labeledby="673ed27a0b15a__heading" data-uid="673ed27a0b15a">
    
    
    
            <div class="c-slider__item__container">
            

                                <!-- typography.blade.php  (hasSeenH1)  original: h2 -->
<h2 class="c-typography c-slider__item__heading c-typography__variant--h2" data-uid="673ed27a0b190">
    Base Layout
</h2>            
                                <!-- typography.blade.php  (hasSeenH1)  original: p -->
<p class="c-typography c-slider__item__body  c-typography__variant--body" data-uid="673ed27a0b1bd">
    Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!
</p>            
            
                        
        </div>
    

    </section>
        <!-- slider__item.blade.php -->
<section class="c-slider__item splide__slide u-color__bg--white c-slider__item--layout-bottom c-slider__item--overlay-none" aria-labeledby="673ed27a0b1eb__heading" data-uid="673ed27a0b1eb">
    
    
    
            <div class="c-slider__item__container">
            

                                <!-- typography.blade.php  (hasSeenH1)  original: h2 -->
<h2 class="c-typography c-slider__item__heading c-typography__variant--h2" data-uid="673ed27a0b222">
    Base Layout
</h2>            
                                <!-- typography.blade.php  (hasSeenH1)  original: p -->
<p class="c-typography c-slider__item__body  c-typography__variant--body" data-uid="673ed27a0b24e">
    Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!
</p>            
            
                        
        </div>
    

    </section>
        <!-- slider__item.blade.php -->
<section class="c-slider__item splide__slide u-color__bg--white c-slider__item--layout-center c-slider__item--overlay-none" aria-labeledby="673ed27a0b27c__heading" data-uid="673ed27a0b27c">
    
    
    
            <div class="c-slider__item__container">
            

                                <!-- typography.blade.php  (hasSeenH1)  original: h2 -->
<h2 class="c-typography c-slider__item__heading c-typography__variant--h2" data-uid="673ed27a0b2b2">
    Base Layout
</h2>            
                                <!-- typography.blade.php  (hasSeenH1)  original: p -->
<p class="c-typography c-slider__item__body  c-typography__variant--body" data-uid="673ed27a0b2de">
    Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!
</p>            
            
                        
        </div>
    

    </section>
            </div>
        </div>
    
        
        
        </div>
@slider([
    'showStepper' => true,
    'autoSlide' => false,
    'repeatSlide' => true,
])
    @slider__item([
        'title' => 'Base Layout',
        'text' => 'Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!',
        'layout' => 'center',
        'containerColor' => 'none',
        'overlay' => 'dark',
        'textAlignment' => 'center',
        'image' => 'https://picsum.photos/1080/720',
        'heroStyle' => true
    ])
    @endslider__item

    @slider__item([
        'title' => 'Base Layout',
        'text' => 'Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!',
        'layout' => 'bottom',
        'overlay' => 'light',
        'containerColor' => 'theme',
        'image' => 'https://picsum.photos/1080/720',
    ])
    @endslider__item

    @slider__item([
        'title' => 'Base Layout',
        'text' => 'Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!',
        'layout' => 'center',
        'containerColor' => 'none',
        'image' => 'https://picsum.photos/1080/720',
        'overlay' => 'light',
    ])
    @endslider__item

    @slider__item([
        'title' => 'Base Layout',   
        'text' => 'Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!',
        'layout' => 'bottom',
        'containerColor' => 'white',
        'image' => 'https://picsum.photos/1080/720',
        'video' => 'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4',
    ])
    @endslider__item

    @slider__item([
        'title' => 'Base Layout',
        'text' => 'Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!',
        'containerColor' => 'white',
        'layout' => 'center',
        'image' => 'https://picsum.photos/1080/720',
    ])
    @endslider__item
@endslider

Button styling

Styling the buttons

Base Layout

Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!

Base Layout

Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!

<div class="c-slider c-slider--16-9 c-slider__navigation--hover c-slider--shadow c-slider--has-stepper" data-step="0" js-slider="0" js-slider-index="0" data-slider-loop="1" data-slider-gap="2" id="673ed27a0b7957.91472596" data-uid="673ed27a0b7a0">

            <div class="splide__arrows c-slider__arrows">
                <button class="c-button splide__arrow splide__arrow--prev c-button__outlined c-button__outlined--secondary c-button--md c-button--icon-only" target="_top" aria-label="keyboard_arrow_left" type="button" data-uid="673ed27a0b7d7">   
     <span class="c-button__label">         
                    <span class="c-button__label-icon ">
                    <!-- icon.blade.php -->
    <span class="c-icon c-icon--keyboard-arrow-left c-icon--material c-icon--material-keyboard_arrow_left material-symbols material-symbols-rounded material-symbols-sharp material-symbols-outlined  c-icon--size-md" aria-hidden="false" material-symbol="keyboard_arrow_left" role="img" data-nosnippet="" translate="no" aria-label="Icon: Undefined" alt="Icon: Undefined" data-uid="673ed27a0b812">
                    </span>
            </span>
        
        
    </span> </button>                <button class="c-button splide__arrow splide__arrow--next c-button__outlined c-button__outlined--secondary c-button--md c-button--icon-only" target="_top" aria-label="keyboard_arrow_right" type="button" data-uid="673ed27a0b855">   
     <span class="c-button__label">         
                    <span class="c-button__label-icon ">
                    <!-- icon.blade.php -->
    <span class="c-icon c-icon--keyboard-arrow-right c-icon--material c-icon--material-keyboard_arrow_right material-symbols material-symbols-rounded material-symbols-sharp material-symbols-outlined  c-icon--size-md" aria-hidden="false" material-symbol="keyboard_arrow_right" role="img" data-nosnippet="" translate="no" aria-label="Icon: Undefined" alt="Icon: Undefined" data-uid="673ed27a0b88c">
                    </span>
            </span>
        
        
    </span> </button>        </div>
    
        <div class="c-slider__container splide__track">
            <div class="c-slider__inner splide__list" js-slider-inner>
                <!-- slider__item.blade.php -->
<section class="c-slider__item splide__slide u-color__bg--darkest c-slider__item--layout-center c-slider__item--overlay-none" aria-labeledby="673ed27a0b657__heading" data-uid="673ed27a0b657">
    
    
    
            <div class="c-slider__item__container">
            

                                <!-- typography.blade.php  (hasSeenH1)  original: h2 -->
<h2 class="c-typography c-slider__item__heading c-typography__variant--h2" data-uid="673ed27a0b695">
    Base Layout
</h2>            
                                <!-- typography.blade.php  (hasSeenH1)  original: p -->
<p class="c-typography c-slider__item__body  c-typography__variant--body" data-uid="673ed27a0b6c9">
    Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!
</p>            
            
                        
        </div>
    

    </section>
        <!-- slider__item.blade.php -->
<section class="c-slider__item splide__slide u-color__bg--darkest c-slider__item--layout-bottom c-slider__item--overlay-none" aria-labeledby="673ed27a0b703__heading" data-uid="673ed27a0b703">
    
    
    
            <div class="c-slider__item__container">
            

                                <!-- typography.blade.php  (hasSeenH1)  original: h2 -->
<h2 class="c-typography c-slider__item__heading c-typography__variant--h2" data-uid="673ed27a0b73c">
    Base Layout
</h2>            
                                <!-- typography.blade.php  (hasSeenH1)  original: p -->
<p class="c-typography c-slider__item__body  c-typography__variant--body" data-uid="673ed27a0b76a">
    Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!
</p>            
            
                        
        </div>
    

    </section>
            </div>
        </div>
    
        
        
        </div>
@slider([
    'showStepper' => true,
    'autoSlide' => false,
    'arrowButtons' => array("color" => "secondary", "style" => "outlined")
])
    @slider__item([
        'image' => 'https://picsum.photos/1080/720',
        'title' => 'Base Layout',
        'text' => 'Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!',
        'layout' => 'center',
        'containerColor' => 'darkest'
    ])
    @endslider__item

    @slider__item([
        'title' => 'Base Layout',
        'image' => 'https://picsum.photos/1080/720',
        'text' => 'Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!',
        'layout' => 'bottom',
        'containerColor' => 'darkest'
    ])
    @endslider__item
@endslider

Slider with Cards

<div class="c-slider c-slider--16-9 c-slider__navigation--hover c-slider--shadow" data-slides-per-page="4" data-step="0" js-slider="0" js-slider-index="0" data-slider-loop="1" data-slider-gap="2" id="673ed27a0c17e6.39375617" data-uid="673ed27a0c18a">

            <div class="splide__arrows c-slider__arrows">
                <button class="c-button splide__arrow splide__arrow--prev c-button__filled c-button__filled--primary c-button--md c-button--icon-only" target="_top" aria-label="keyboard_arrow_left" type="button" data-uid="673ed27a0c1c4">   
     <span class="c-button__label">         
                    <span class="c-button__label-icon ">
                    <!-- icon.blade.php -->
    <span class="c-icon c-icon--keyboard-arrow-left c-icon--material c-icon--material-keyboard_arrow_left material-symbols material-symbols-rounded material-symbols-sharp material-symbols-outlined  c-icon--size-md" aria-hidden="false" material-symbol="keyboard_arrow_left" role="img" data-nosnippet="" translate="no" aria-label="Icon: Undefined" alt="Icon: Undefined" data-uid="673ed27a0c200">
                    </span>
            </span>
        
        
    </span> </button>                <button class="c-button splide__arrow splide__arrow--next c-button__filled c-button__filled--primary c-button--md c-button--icon-only" target="_top" aria-label="keyboard_arrow_right" type="button" data-uid="673ed27a0c243">   
     <span class="c-button__label">         
                    <span class="c-button__label-icon ">
                    <!-- icon.blade.php -->
    <span class="c-icon c-icon--keyboard-arrow-right c-icon--material c-icon--material-keyboard_arrow_right material-symbols material-symbols-rounded material-symbols-sharp material-symbols-outlined  c-icon--size-md" aria-hidden="false" material-symbol="keyboard_arrow_right" role="img" data-nosnippet="" translate="no" aria-label="Icon: Undefined" alt="Icon: Undefined" data-uid="673ed27a0c27a">
                    </span>
            </span>
        
        
    </span> </button>        </div>
    
        <div class="c-slider__container splide__track">
            <div class="c-slider__inner splide__list" js-slider-inner>
                <!-- slider__item.blade.php -->
<section class="c-slider__item c-slider__item--post splide__slide c-slider__item--layout-center" aria-labeledby="673ed27a0bc7c__heading" data-uid="673ed27a0bc7c">
    
    
    
            <div class="c-slider__item__container">
            <!-- card.blade.php -->
<a class="c-card u-color__text--info c-card--focus-inset c-card--default c-card--has-image c-card--action c-card--ratio-4-3" href="https://www.helsingborg.se" data-uid="673ed27a0ba9f">
    <div class="c-card__image c-card__image--primary">
    <div class="c-card__image-background " style="background-image:url('https://picsum.photos/seed/0/267');"></div>
</div><div class="c-card__body">
                <!-- group.blade.php -->
<div class="c-group c-group--horizontal c-group--justify-content-space-between c-group--align-items-start" data-uid="673ed27a0bbf0">
    <!-- group.blade.php -->
<div class="c-group c-group--vertical" data-uid="673ed27a0bbb9">
    <!-- typography.blade.php  (hasSeenH1)  original: h2 -->
<h2 class="c-typography c-card__heading c-typography__variant--h3" data-uid="673ed27a0bb5e">
    Card #0
</h2>
</div>
</div>            <!-- typography.blade.php  (hasSeenH1)  original: p -->
<p class="c-typography c-card__content c-typography__variant--p" data-uid="673ed27a0bc40">
    Lorem ipsum dolor sit amet, consectetur adipiscing elit.
</p> </div>    
    </a>

            
            
            
                        
        </div>
    

    </section>
        
            <!-- slider__item.blade.php -->
<section class="c-slider__item c-slider__item--post splide__slide c-slider__item--layout-center" aria-labeledby="673ed27a0be1e__heading" data-uid="673ed27a0be1e">
    
    
    
            <div class="c-slider__item__container">
            <!-- card.blade.php -->
<a class="c-card u-color__text--info c-card--focus-inset c-card--default c-card--has-image c-card--action c-card--ratio-4-3" href="https://www.helsingborg.se" data-uid="673ed27a0bcc5">
    <div class="c-card__image c-card__image--primary">
    <div class="c-card__image-background " style="background-image:url('https://picsum.photos/seed/1/267');"></div>
</div><div class="c-card__body">
                <!-- group.blade.php -->
<div class="c-group c-group--horizontal c-group--justify-content-space-between c-group--align-items-start" data-uid="673ed27a0bda3">
    <!-- group.blade.php -->
<div class="c-group c-group--vertical" data-uid="673ed27a0bd72">
    <!-- typography.blade.php  (hasSeenH1)  original: h2 -->
<h2 class="c-typography c-card__heading c-typography__variant--h3" data-uid="673ed27a0bd3f">
    Card #1
</h2>
</div>
</div>            <!-- typography.blade.php  (hasSeenH1)  original: p -->
<p class="c-typography c-card__content c-typography__variant--p" data-uid="673ed27a0bde6">
    Lorem ipsum dolor sit amet, consectetur adipiscing elit.
</p> </div>    
    </a>

            
            
            
                        
        </div>
    

    </section>
        
            <!-- slider__item.blade.php -->
<section class="c-slider__item c-slider__item--post splide__slide c-slider__item--layout-center" aria-labeledby="673ed27a0bfb7__heading" data-uid="673ed27a0bfb7">
    
    
    
            <div class="c-slider__item__container">
            <!-- card.blade.php -->
<a class="c-card u-color__text--info c-card--focus-inset c-card--default c-card--has-image c-card--action c-card--ratio-4-3" href="https://www.helsingborg.se" data-uid="673ed27a0be61">
    <div class="c-card__image c-card__image--primary">
    <div class="c-card__image-background " style="background-image:url('https://picsum.photos/seed/2/267');"></div>
</div><div class="c-card__body">
                <!-- group.blade.php -->
<div class="c-group c-group--horizontal c-group--justify-content-space-between c-group--align-items-start" data-uid="673ed27a0bf3f">
    <!-- group.blade.php -->
<div class="c-group c-group--vertical" data-uid="673ed27a0bf12">
    <!-- typography.blade.php  (hasSeenH1)  original: h2 -->
<h2 class="c-typography c-card__heading c-typography__variant--h3" data-uid="673ed27a0bee1">
    Card #2
</h2>
</div>
</div>            <!-- typography.blade.php  (hasSeenH1)  original: p -->
<p class="c-typography c-card__content c-typography__variant--p" data-uid="673ed27a0bf81">
    Lorem ipsum dolor sit amet, consectetur adipiscing elit.
</p> </div>    
    </a>

            
            
            
                        
        </div>
    

    </section>
        
            <!-- slider__item.blade.php -->
<section class="c-slider__item c-slider__item--post splide__slide c-slider__item--layout-center" aria-labeledby="673ed27a0c148__heading" data-uid="673ed27a0c148">
    
    
    
            <div class="c-slider__item__container">
            <!-- card.blade.php -->
<a class="c-card u-color__text--info c-card--focus-inset c-card--default c-card--has-image c-card--action c-card--ratio-4-3" href="https://www.helsingborg.se" data-uid="673ed27a0bffa">
    <div class="c-card__image c-card__image--primary">
    <div class="c-card__image-background " style="background-image:url('https://picsum.photos/seed/3/267');"></div>
</div><div class="c-card__body">
                <!-- group.blade.php -->
<div class="c-group c-group--horizontal c-group--justify-content-space-between c-group--align-items-start" data-uid="673ed27a0c0d0">
    <!-- group.blade.php -->
<div class="c-group c-group--vertical" data-uid="673ed27a0c0a2">
    <!-- typography.blade.php  (hasSeenH1)  original: h2 -->
<h2 class="c-typography c-card__heading c-typography__variant--h3" data-uid="673ed27a0c070">
    Card #3
</h2>
</div>
</div>            <!-- typography.blade.php  (hasSeenH1)  original: p -->
<p class="c-typography c-card__content c-typography__variant--p" data-uid="673ed27a0c111">
    Lorem ipsum dolor sit amet, consectetur adipiscing elit.
</p> </div>    
    </a>

            
            
            
                        
        </div>
    

    </section>
            </div>
        </div>
    
        
        
        </div>
@slider([
    'showStepper' => false,
    'autoSlide' => false,
    'attributeList' => [
        'data-slides-per-page' => 4
    ],
])

    @for ($i = 0; $i < 4; $i++)
    
        @slider__item([
            'layout' => 'center',
            'heroStyle' => false,
            'classList' => ['c-slider__item--post']
        ])

            @card([
                'link' => 'https://www.helsingborg.se',
                'image' => ['src' => "https://picsum.photos/seed/$i/267", 'alt' => 'ALT'],
                'heading' => "Card #$i",
                'content' => "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
                'classList' => ['u-color__text--info', 'c-card--focus-inset'],
            ])
            @endcard

        @endslider__item

    @endfor

@endslider

Slider with Segment

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

<div class="c-slider c-slider--post c-slider--16-9 c-slider__navigation--hover c-slider--shadow" data-slides-per-page="1" data-step="0" js-slider="0" js-slider-index="0" data-slider-gap="2" id="673ed27a0cef67.89664417" data-uid="673ed27a0cf02">

            <div class="splide__arrows c-slider__arrows">
                <button class="c-button splide__arrow splide__arrow--prev c-button__filled c-button__filled--primary c-button--md c-button--icon-only" target="_top" aria-label="keyboard_arrow_left" type="button" data-uid="673ed27a0cf3b">   
     <span class="c-button__label">         
                    <span class="c-button__label-icon ">
                    <!-- icon.blade.php -->
    <span class="c-icon c-icon--keyboard-arrow-left c-icon--material c-icon--material-keyboard_arrow_left material-symbols material-symbols-rounded material-symbols-sharp material-symbols-outlined  c-icon--size-md" aria-hidden="false" material-symbol="keyboard_arrow_left" role="img" data-nosnippet="" translate="no" aria-label="Icon: Undefined" alt="Icon: Undefined" data-uid="673ed27a0cf76">
                    </span>
            </span>
        
        
    </span> </button>                <button class="c-button splide__arrow splide__arrow--next c-button__filled c-button__filled--primary c-button--md c-button--icon-only" target="_top" aria-label="keyboard_arrow_right" type="button" data-uid="673ed27a0cfb9">   
     <span class="c-button__label">         
                    <span class="c-button__label-icon ">
                    <!-- icon.blade.php -->
    <span class="c-icon c-icon--keyboard-arrow-right c-icon--material c-icon--material-keyboard_arrow_right material-symbols material-symbols-rounded material-symbols-sharp material-symbols-outlined  c-icon--size-md" aria-hidden="false" material-symbol="keyboard_arrow_right" role="img" data-nosnippet="" translate="no" aria-label="Icon: Undefined" alt="Icon: Undefined" data-uid="673ed27a0cff0">
                    </span>
            </span>
        
        
    </span> </button>        </div>
    
        <div class="c-slider__container splide__track">
            <div class="c-slider__inner splide__list" js-slider-inner>
                <!-- slider__item.blade.php -->
<section class="c-slider__item c-slider__item--post splide__slide c-slider__item--layout-bottom" aria-labeledby="673ed27a0c79a__heading" data-uid="673ed27a0c79a">
    
    
    
            <div class="c-slider__item__container">
            <!-- segment.blade.php -->
<section class="c-segment c-segment--slider c-segment--size-sm c-segment--card c-segment--text-dark c-segment--height-content c-segment--text-default c-segment--alignment-top c-segment--reverse" data-observe-resizes="" data-uid="673ed27a0c50d">
        <a class="c-link c-segment__image" id="" aria-label="Visit: https://www.helsingborg.se" href="https://www.helsingborg.se" target="_top" data-uid="673ed27a0c592">
        <div class="c-segment__image " style="background-image: url('https://picsum.photos/seed/0/1400'); background-position: 50% 50%;"></div>
    </a>
    <div class="c-segment__content">
        <!-- card.blade.php -->
<div class="c-card c-segment__content-card c-card--default c-card--image-first c-card--ratio-4-3" data-uid="673ed27a0c75f">
        <!-- group.blade.php -->
<div class="c-group c-group--horizontal c-group--justify-content-space-between c-group--gap-2 c-group--align-items-start" data-uid="673ed27a0c6ae">
    <!-- group.blade.php -->
<div class="c-group u-width--100 c-group--vertical" data-uid="673ed27a0c672">
    <!-- typography.blade.php  (hasSeenH1)  original: h2 -->
<h2 class="c-typography c-segment__title u-margin__bottom--1 c-typography__variant--h3" data-uid="673ed27a0c63e">
    <a class="c-link" id="" href="https://www.helsingborg.se" target="_top" data-uid="673ed27a0c60b">
        Card #0
    </a>
</h2>
</div>
</div>


        <!-- typography.blade.php  (hasSeenH1)  original: div -->
<div class="c-typography c-segment__text c-typography__variant--div" data-uid="673ed27a0c6dd">
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
</div>
    <div class="c-segment__buttons">
                                        <a class="c-button c-button__filled c-button__filled--default c-button--md" target="_top" type="button" href="https://www.helsingborg.se" aria-label="Read More" data-uid="673ed27a0c71d">   
     <span class="c-button__label">         
        
                    <span class="c-button__label-text ">
                Read More
            </span>
        
    </span> </a>                        </div>
    <div class="c-segment__inner-blocks u-hide-empty"><InnerBlocks /></div>
    </div>

</div>
</section>

            
            
            
                        
        </div>
    

    </section>
        
            <!-- slider__item.blade.php -->
<section class="c-slider__item c-slider__item--post splide__slide c-slider__item--layout-bottom" aria-labeledby="673ed27a0c9fb__heading" data-uid="673ed27a0c9fb">
    
    
    
            <div class="c-slider__item__container">
            <!-- segment.blade.php -->
<section class="c-segment c-segment--slider c-segment--size-sm c-segment--card c-segment--text-dark c-segment--height-content c-segment--text-default c-segment--alignment-top c-segment--reverse" data-observe-resizes="" data-uid="673ed27a0c7ec">
        <a class="c-link c-segment__image" id="" aria-label="Visit: https://www.helsingborg.se" href="https://www.helsingborg.se" target="_top" data-uid="673ed27a0c832">
        <div class="c-segment__image " style="background-image: url('https://picsum.photos/seed/1/1400'); background-position: 50% 50%;"></div>
    </a>
    <div class="c-segment__content">
        <!-- card.blade.php -->
<div class="c-card c-segment__content-card c-card--default c-card--image-first c-card--ratio-4-3" data-uid="673ed27a0c9c3">
        <!-- group.blade.php -->
<div class="c-group c-group--horizontal c-group--justify-content-space-between c-group--gap-2 c-group--align-items-start" data-uid="673ed27a0c91d">
    <!-- group.blade.php -->
<div class="c-group u-width--100 c-group--vertical" data-uid="673ed27a0c8ef">
    <!-- typography.blade.php  (hasSeenH1)  original: h2 -->
<h2 class="c-typography c-segment__title u-margin__bottom--1 c-typography__variant--h3" data-uid="673ed27a0c8bf">
    <a class="c-link" id="" href="https://www.helsingborg.se" target="_top" data-uid="673ed27a0c88f">
        Card #1
    </a>
</h2>
</div>
</div>


        <!-- typography.blade.php  (hasSeenH1)  original: div -->
<div class="c-typography c-segment__text c-typography__variant--div" data-uid="673ed27a0c94b">
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
</div>
    <div class="c-segment__buttons">
                                        <a class="c-button c-button__filled c-button__filled--default c-button--md" target="_top" type="button" href="https://www.helsingborg.se" aria-label="Read More" data-uid="673ed27a0c985">   
     <span class="c-button__label">         
        
                    <span class="c-button__label-text ">
                Read More
            </span>
        
    </span> </a>                        </div>
    <div class="c-segment__inner-blocks u-hide-empty"><InnerBlocks /></div>
    </div>

</div>
</section>

            
            
            
                        
        </div>
    

    </section>
        
            <!-- slider__item.blade.php -->
<section class="c-slider__item c-slider__item--post splide__slide c-slider__item--layout-bottom" aria-labeledby="673ed27a0cc5e__heading" data-uid="673ed27a0cc5e">
    
    
    
            <div class="c-slider__item__container">
            <!-- segment.blade.php -->
<section class="c-segment c-segment--slider c-segment--size-sm c-segment--card c-segment--text-dark c-segment--height-content c-segment--text-default c-segment--alignment-top c-segment--reverse" data-observe-resizes="" data-uid="673ed27a0ca46">
        <a class="c-link c-segment__image" id="" aria-label="Visit: https://www.helsingborg.se" href="https://www.helsingborg.se" target="_top" data-uid="673ed27a0ca95">
        <div class="c-segment__image " style="background-image: url('https://picsum.photos/seed/2/1400'); background-position: 50% 50%;"></div>
    </a>
    <div class="c-segment__content">
        <!-- card.blade.php -->
<div class="c-card c-segment__content-card c-card--default c-card--image-first c-card--ratio-4-3" data-uid="673ed27a0cc26">
        <!-- group.blade.php -->
<div class="c-group c-group--horizontal c-group--justify-content-space-between c-group--gap-2 c-group--align-items-start" data-uid="673ed27a0cb7c">
    <!-- group.blade.php -->
<div class="c-group u-width--100 c-group--vertical" data-uid="673ed27a0cb4e">
    <!-- typography.blade.php  (hasSeenH1)  original: h2 -->
<h2 class="c-typography c-segment__title u-margin__bottom--1 c-typography__variant--h3" data-uid="673ed27a0cb1e">
    <a class="c-link" id="" href="https://www.helsingborg.se" target="_top" data-uid="673ed27a0caef">
        Card #2
    </a>
</h2>
</div>
</div>


        <!-- typography.blade.php  (hasSeenH1)  original: div -->
<div class="c-typography c-segment__text c-typography__variant--div" data-uid="673ed27a0cbaa">
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
</div>
    <div class="c-segment__buttons">
                                        <a class="c-button c-button__filled c-button__filled--default c-button--md" target="_top" type="button" href="https://www.helsingborg.se" aria-label="Read More" data-uid="673ed27a0cbe3">   
     <span class="c-button__label">         
        
                    <span class="c-button__label-text ">
                Read More
            </span>
        
    </span> </a>                        </div>
    <div class="c-segment__inner-blocks u-hide-empty"><InnerBlocks /></div>
    </div>

</div>
</section>

            
            
            
                        
        </div>
    

    </section>
        
            <!-- slider__item.blade.php -->
<section class="c-slider__item c-slider__item--post splide__slide c-slider__item--layout-bottom" aria-labeledby="673ed27a0cebb__heading" data-uid="673ed27a0cebb">
    
    
    
            <div class="c-slider__item__container">
            <!-- segment.blade.php -->
<section class="c-segment c-segment--slider c-segment--size-sm c-segment--card c-segment--text-dark c-segment--height-content c-segment--text-default c-segment--alignment-top c-segment--reverse" data-observe-resizes="" data-uid="673ed27a0ccaa">
        <a class="c-link c-segment__image" id="" aria-label="Visit: https://www.helsingborg.se" href="https://www.helsingborg.se" target="_top" data-uid="673ed27a0ccef">
        <div class="c-segment__image " style="background-image: url('https://picsum.photos/seed/3/1400'); background-position: 50% 50%;"></div>
    </a>
    <div class="c-segment__content">
        <!-- card.blade.php -->
<div class="c-card c-segment__content-card c-card--default c-card--image-first c-card--ratio-4-3" data-uid="673ed27a0ce84">
        <!-- group.blade.php -->
<div class="c-group c-group--horizontal c-group--justify-content-space-between c-group--gap-2 c-group--align-items-start" data-uid="673ed27a0cdd2">
    <!-- group.blade.php -->
<div class="c-group u-width--100 c-group--vertical" data-uid="673ed27a0cda5">
    <!-- typography.blade.php  (hasSeenH1)  original: h2 -->
<h2 class="c-typography c-segment__title u-margin__bottom--1 c-typography__variant--h3" data-uid="673ed27a0cd76">
    <a class="c-link" id="" href="https://www.helsingborg.se" target="_top" data-uid="673ed27a0cd47">
        Card #3
    </a>
</h2>
</div>
</div>


        <!-- typography.blade.php  (hasSeenH1)  original: div -->
<div class="c-typography c-segment__text c-typography__variant--div" data-uid="673ed27a0ce00">
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
</div>
    <div class="c-segment__buttons">
                                        <a class="c-button c-button__filled c-button__filled--default c-button--md" target="_top" type="button" href="https://www.helsingborg.se" aria-label="Read More" data-uid="673ed27a0ce39">   
     <span class="c-button__label">         
        
                    <span class="c-button__label-text ">
                Read More
            </span>
        
    </span> </a>                        </div>
    <div class="c-segment__inner-blocks u-hide-empty"><InnerBlocks /></div>
    </div>

</div>
</section>

            
            
            
                        
        </div>
    

    </section>
            </div>
        </div>
    
        
        
        </div>
@slider([
    'showStepper' => false,
    'autoSlide' => false,
    'repeatSlide' => false,
    'attributeList' => [
        'data-slides-per-page' => 1
    ],
    'classList' => ['c-slider--post']
])

    @for ($i = 0; $i < 4; $i++)
    
        @slider__item([
            'classList' => ['c-slider__item--post']
        ])

            @segment([
                'layout' => 'card',
                'title' => "Card #$i",
                'tags' => false,
                'meta' => false,
                'image' => "https://picsum.photos/seed/$i/1400",
                'buttons' => [['text' => 'Read More', 'href' => 'https://www.helsingborg.se']],
                'content' => "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
                'classList' => ['c-segment--slider', 'c-segment--size-sm'],
                'containerAware' => true,
                'reverseColumns' => true
            ])
            @endsegment

        @endslider__item

    @endfor

@endslider

Blade component parameters

Key Default value Type Available values Description
showStepper true boolean - Option to hide or show stepper.
autoSlide true boolean - If set to true, slider will auto slide with default delay. Can also receive an int to set delay in seconds
peekSlides false boolean - Adds some padding to show a peek of next and previous slides
navigationHover true boolean - Only show navigation when hovering over the slider
ratio 16:9 string - The size ratio of the slider
repeatSlide true boolean - Will allow the slide to repeat its cycle
heroStyle false boolean - -
shadow true boolean - -
customButtons false boolean - -
arrowButtons {"color":"primary","style":"filled"} array - -
padding 0 integer - Sets the amount of padding between slides
gap 2 integer - Sets the amount of gap between slides
id string - The DOM id of the component.
classList [] array - Array containing wrapping classes array
attributeList [] array - Array containing keys and values rendered as attributes
containerAware false boolean true/false Makes the component container aware. Appends modifiers --size--xs/sm/md/lg to the component.
Settings location: /var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/Slider/slider.json