Slider
Using the slider item component
By using the slider item component you can create a slider with ease
<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="662af344e566e8.18113130" data-uid="662af344e5683">
<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="662af344e57de">
<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-outlined material-symbols-outlined--filled c-icon--size-md" aria-hidden="true" material-symbol="keyboard_arrow_left" role="img" aria-label="Icon: Undefined" alt="Icon: Undefined" data-nosnippet="" translate="no" data-uid="662af344e582a">
</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="662af344e5873">
<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-outlined material-symbols-outlined--filled c-icon--size-md" aria-hidden="true" material-symbol="keyboard_arrow_right" role="img" aria-label="Icon: Undefined" alt="Icon: Undefined" data-nosnippet="" translate="no" data-uid="662af344e58ae">
</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--text-white c-slider__item--layout-center c-slider__item--overlay-none c-slider__item--hero" style="background-image: url('https://picsum.photos/1080/720');" aria-labeledby="662af344e3dc8__heading" data-uid="662af344e3dc8">
<img class="u-sr__only c-slider__item__image" src="https://picsum.photos/1080/720" alt=""/>
<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="662af344e3f4a">
Base Layout
</h1>
<!-- typography.blade.php (hasSeenH1) original: p -->
<p class="c-typography c-slider__item__body c-typography__variant--body" data-uid="662af344e3f8a">
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--text-white c-slider__item--layout-bottom c-slider__item--overlay-none" style="background-image: url('https://picsum.photos/1080/720');" aria-labeledby="662af344e3fc1__heading" data-uid="662af344e3fc1">
<img class="u-sr__only c-slider__item__image" src="https://picsum.photos/1080/720" alt=""/>
<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="662af344e400a">
Base Layout
</h2>
<!-- typography.blade.php (hasSeenH1) original: p -->
<p class="c-typography c-slider__item__body c-typography__variant--body" data-uid="662af344e404a">
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--transparent c-slider__item--layout-center c-slider__item--overlay-light" style="background-image: url('https://picsum.photos/1080/720');" aria-labeledby="662af344e407b__heading" data-uid="662af344e407b">
<img class="u-sr__only c-slider__item__image" src="https://picsum.photos/1080/720" alt=""/>
<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="662af344e40b8">
Base Layout
</h2>
<!-- typography.blade.php (hasSeenH1) original: p -->
<p class="c-typography c-slider__item__body c-typography__variant--body" data-uid="662af344e40e4">
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--text-theme c-slider__item--layout-bottom c-slider__item--overlay-none" style="background-image: url('https://picsum.photos/1080/720');" data-uid="662af344e411a">
<!-- video.blade.php -->
<video class="c-video c-slider__item__background--video" width="600" height="300" muted autoplay loop="1" data-uid="662af344e4bf5">
<source class="c-video__source" src="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" type="video/mp4">
<br />
<b>Warning</b>: The parameter <b>"isWarning"</b> is not recognized in the component <b>"notice"</b> in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<!-- notice.blade.php -->
<div class="c-notice c-notice--info" id="662af344e53ae" data-uid="662af344e53bc" aria-labelledby="notice__text__662af344e53ae">
<!-- notice__ico -->
<!-- notice__title -->
<!-- notice__text -->
<span id="notice__text__662af344e53ae" for="" class="c-notice__message">
This component is not supported by your browser.
</span>
</div>
</video>
<button class="c-button c-slider__item__background--video__play__btn c-button__filled c-button__filled--secondary c-button--md c-button--icon-only" target="_top" js-video-control="" aria-label="play_arrow" type="button" data-uid="662af344e544e">
<span class="c-button__label">
<span class="c-button__label-icon ">
<!-- icon.blade.php -->
<span class="c-icon c-icon--play-arrow c-icon--material c-icon--material-play_arrow material-symbols-outlined material-symbols-outlined--filled c-icon--size-md" aria-hidden="true" material-symbol="play_arrow" role="img" aria-label="Icon: Undefined" alt="Icon: Undefined" data-nosnippet="" translate="no" data-uid="662af344e54d4">
</span>
</span>
</span> </button>
<img class="u-sr__only c-slider__item__image" src="https://picsum.photos/1080/720" alt=""/>
<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="662af344e5528">
Base Layout
</h2>
<!-- typography.blade.php (hasSeenH1) original: p -->
<p class="c-typography c-slider__item__body c-typography__variant--body" data-uid="662af344e555f">
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="662af344e5598__heading" data-uid="662af344e5598">
<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="662af344e55d7">
Base Layout
</h2>
<!-- typography.blade.php (hasSeenH1) original: p -->
<p class="c-typography c-slider__item__body c-typography__variant--body" data-uid="662af344e5607">
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',
'sub_title' => 'This is a slightly longer title called subtitle',
'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',
'textColor' => 'white',
'mobile_image' => 'https://picsum.photos/720/720',
'desktop_image' => 'https://picsum.photos/1080/720',
'heroStyle' => true
])
@endslider__item
@slider__item([
'title' => 'Base Layout',
'sub_title' => 'This is a slightly longer title called subtitle',
'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',
'textColor' => 'white',
'mobile_image' => 'https://picsum.photos/720/720',
'desktop_image' => 'https://picsum.photos/1080/720',
])
@endslider__item
@slider__item([
'title' => 'Base Layout',
'sub_title' => 'This is a slightly longer title called subtitle',
'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',
'mobile_image' => 'https://picsum.photos/720/720',
'desktop_image' => 'https://picsum.photos/1080/720',
'overlay' => 'light',
'overlay_opacity' => 'medium'
])
@endslider__item
@slider__item([
'title' => 'Base Layout',
'sub_title' => 'This is a slightly longer title called subtitle',
'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',
'textColor' => 'theme',
'mobile_image' => 'https://picsum.photos/720/720',
'desktop_image' => 'https://picsum.photos/1080/720',
'background_video' => 'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4',
])
@endslider__item
@slider__item([
'title' => 'Base Layout',
'sub_title' => 'This is a slightly longer title called subtitle',
'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
<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="662af344e5e408.98892116" data-uid="662af344e5e4e">
<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="662af344e5e8f">
<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-outlined material-symbols-outlined--filled c-icon--size-md" aria-hidden="true" material-symbol="keyboard_arrow_left" role="img" aria-label="Icon: Undefined" alt="Icon: Undefined" data-nosnippet="" translate="no" data-uid="662af344e5ecf">
</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="662af344e5f10">
<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-outlined material-symbols-outlined--filled c-icon--size-md" aria-hidden="true" material-symbol="keyboard_arrow_right" role="img" aria-label="Icon: Undefined" alt="Icon: Undefined" data-nosnippet="" translate="no" data-uid="662af344e5f51">
</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--text-white c-slider__item--layout-center c-slider__item--overlay-none c-slider__item--hero" style="background-image: url('https://picsum.photos/1080/720');" aria-labeledby="662af344e5d75__heading" data-uid="662af344e5d75">
<img class="u-sr__only c-slider__item__image" src="https://picsum.photos/1080/720" alt=""/>
<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="662af344e5dc4">
Base Layout
</h2>
<!-- typography.blade.php (hasSeenH1) original: p -->
<p class="c-typography c-slider__item__body c-typography__variant--body" data-uid="662af344e5e0c">
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',
'sub_title' => 'This is a slightly longer title called subtitle',
'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',
'textColor' => 'white',
'mobile_image' => 'https://picsum.photos/720/720',
'desktop_image' => 'https://picsum.photos/1080/720',
'heroStyle' => true
])
@endslider__item
@endslider
Repeat slide
<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="662af344e6be56.95621380" data-uid="662af344e6bf1">
<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="662af344e6c3d">
<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-outlined material-symbols-outlined--filled c-icon--size-md" aria-hidden="true" material-symbol="keyboard_arrow_left" role="img" aria-label="Icon: Undefined" alt="Icon: Undefined" data-nosnippet="" translate="no" data-uid="662af344e6c7f">
</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="662af344e6cbe">
<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-outlined material-symbols-outlined--filled c-icon--size-md" aria-hidden="true" material-symbol="keyboard_arrow_right" role="img" aria-label="Icon: Undefined" alt="Icon: Undefined" data-nosnippet="" translate="no" data-uid="662af344e6cf4">
</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--text-white c-slider__item--layout-center c-slider__item--overlay-dark c-slider__item--hero" style="background-image: url('https://picsum.photos/1080/720');" aria-labeledby="662af344e6667__heading" data-uid="662af344e6667">
<img class="u-sr__only c-slider__item__image" src="https://picsum.photos/1080/720" alt=""/>
<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="662af344e66bf">
Base Layout
</h2>
<!-- typography.blade.php (hasSeenH1) original: p -->
<p class="c-typography c-slider__item__body c-typography__variant--body" data-uid="662af344e6701">
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--text-white c-slider__item--layout-bottom c-slider__item--overlay-light" style="background-image: url('https://picsum.photos/1080/720');" aria-labeledby="662af344e673a__heading" data-uid="662af344e673a">
<img class="u-sr__only c-slider__item__image" src="https://picsum.photos/1080/720" alt=""/>
<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="662af344e677c">
Base Layout
</h2>
<!-- typography.blade.php (hasSeenH1) original: p -->
<p class="c-typography c-slider__item__body c-typography__variant--body" data-uid="662af344e67ad">
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" style="background-image: url('https://picsum.photos/1080/720');" aria-labeledby="662af344e67e0__heading" data-uid="662af344e67e0">
<img class="u-sr__only c-slider__item__image" src="https://picsum.photos/1080/720" alt=""/>
<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="662af344e681e">
Base Layout
</h2>
<!-- typography.blade.php (hasSeenH1) original: p -->
<p class="c-typography c-slider__item__body c-typography__variant--body" data-uid="662af344e684c">
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--text-theme c-slider__item--layout-bottom c-slider__item--overlay-none" style="background-image: url('https://picsum.photos/1080/720');" data-uid="662af344e6884">
<!-- video.blade.php -->
<video class="c-video c-slider__item__background--video" width="600" height="300" muted autoplay loop="1" data-uid="662af344e690a">
<source class="c-video__source" src="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" type="video/mp4">
<br />
<b>Warning</b>: The parameter <b>"isWarning"</b> is not recognized in the component <b>"notice"</b> in <b>/var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Register.php</b> on line <b>228</b><br />
<!-- notice.blade.php -->
<div class="c-notice c-notice--info" id="662af344e69c9" data-uid="662af344e69d3" aria-labelledby="notice__text__662af344e69c9">
<!-- notice__ico -->
<!-- notice__title -->
<!-- notice__text -->
<span id="notice__text__662af344e69c9" for="" class="c-notice__message">
This component is not supported by your browser.
</span>
</div>
</video>
<button class="c-button c-slider__item__background--video__play__btn c-button__filled c-button__filled--secondary c-button--md c-button--icon-only" target="_top" js-video-control="" aria-label="play_arrow" type="button" data-uid="662af344e6a23">
<span class="c-button__label">
<span class="c-button__label-icon ">
<!-- icon.blade.php -->
<span class="c-icon c-icon--play-arrow c-icon--material c-icon--material-play_arrow material-symbols-outlined material-symbols-outlined--filled c-icon--size-md" aria-hidden="true" material-symbol="play_arrow" role="img" aria-label="Icon: Undefined" alt="Icon: Undefined" data-nosnippet="" translate="no" data-uid="662af344e6a6d">
</span>
</span>
</span> </button>
<img class="u-sr__only c-slider__item__image" src="https://picsum.photos/1080/720" alt=""/>
<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="662af344e6ac4">
Base Layout
</h2>
<!-- typography.blade.php (hasSeenH1) original: p -->
<p class="c-typography c-slider__item__body c-typography__variant--body" data-uid="662af344e6b05">
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" style="background-image: url('https://picsum.photos/1080/720');" aria-labeledby="662af344e6b3b__heading" data-uid="662af344e6b3b">
<img class="u-sr__only c-slider__item__image" src="https://picsum.photos/1080/720" alt=""/>
<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="662af344e6b7d">
Base Layout
</h2>
<!-- typography.blade.php (hasSeenH1) original: p -->
<p class="c-typography c-slider__item__body c-typography__variant--body" data-uid="662af344e6bac">
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',
'sub_title' => 'This is a slightly longer title called subtitle',
'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',
'textColor' => 'white',
'textAlignment' => 'center',
'mobile_image' => 'https://picsum.photos/720/720',
'desktop_image' => 'https://picsum.photos/1080/720',
'heroStyle' => true
])
@endslider__item
@slider__item([
'title' => 'Base Layout',
'sub_title' => 'This is a slightly longer title called subtitle',
'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',
'textColor' => 'white',
'mobile_image' => 'https://picsum.photos/720/720',
'desktop_image' => 'https://picsum.photos/1080/720',
])
@endslider__item
@slider__item([
'title' => 'Base Layout',
'sub_title' => 'This is a slightly longer title called subtitle',
'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',
'mobile_image' => 'https://picsum.photos/720/720',
'desktop_image' => 'https://picsum.photos/1080/720',
'overlay' => 'light',
'overlay_opacity' => 'medium'
])
@endslider__item
@slider__item([
'title' => 'Base Layout',
'sub_title' => 'This is a slightly longer title called subtitle',
'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',
'textColor' => 'theme',
'mobile_image' => 'https://picsum.photos/720/720',
'desktop_image' => 'https://picsum.photos/1080/720',
'background_video' => 'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4',
])
@endslider__item
@slider__item([
'title' => 'Base Layout',
'sub_title' => 'This is a slightly longer title called subtitle',
'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',
'mobile_image' => 'https://picsum.photos/720/720',
'desktop_image' => 'https://picsum.photos/1080/720',
])
@endslider__item
@endslider
Button styling
Styling the buttons
<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="662af344e72bb6.00864821" data-uid="662af344e72c8">
<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="662af344e7312">
<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-outlined material-symbols-outlined--filled c-icon--size-md" aria-hidden="true" material-symbol="keyboard_arrow_left" role="img" aria-label="Icon: Undefined" alt="Icon: Undefined" data-nosnippet="" translate="no" data-uid="662af344e734c">
</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="662af344e7387">
<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-outlined material-symbols-outlined--filled c-icon--size-md" aria-hidden="true" material-symbol="keyboard_arrow_right" role="img" aria-label="Icon: Undefined" alt="Icon: Undefined" data-nosnippet="" translate="no" data-uid="662af344e73be">
</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--text-white c-slider__item--layout-center c-slider__item--overlay-none" aria-labeledby="662af344e7161__heading" data-uid="662af344e7161">
<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="662af344e71a8">
Base Layout
</h2>
<!-- typography.blade.php (hasSeenH1) original: p -->
<p class="c-typography c-slider__item__body c-typography__variant--body" data-uid="662af344e71db">
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--text-white c-slider__item--layout-bottom c-slider__item--overlay-none" aria-labeledby="662af344e720f__heading" data-uid="662af344e720f">
<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="662af344e7246">
Base Layout
</h2>
<!-- typography.blade.php (hasSeenH1) original: p -->
<p class="c-typography c-slider__item__body c-typography__variant--body" data-uid="662af344e7285">
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([
'title' => 'Base Layout',
'sub_title' => 'This is a slightly longer title called subtitle',
'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',
'textColor' => 'white',
])
@endslider__item
@slider__item([
'title' => 'Base Layout',
'sub_title' => 'This is a slightly longer title called subtitle',
'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',
'textColor' => 'white',
])
@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="662af344e7f755.52616138" data-uid="662af344e7f80">
<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="662af344e7fb8">
<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-outlined material-symbols-outlined--filled c-icon--size-md" aria-hidden="true" material-symbol="keyboard_arrow_left" role="img" aria-label="Icon: Undefined" alt="Icon: Undefined" data-nosnippet="" translate="no" data-uid="662af344e7ff4">
</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="662af344e8030">
<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-outlined material-symbols-outlined--filled c-icon--size-md" aria-hidden="true" material-symbol="keyboard_arrow_right" role="img" aria-label="Icon: Undefined" alt="Icon: Undefined" data-nosnippet="" translate="no" data-uid="662af344e8063">
</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--text-black c-slider__item--layout-center" aria-labeledby="662af344e7a95__heading" data-uid="662af344e7a95">
<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="662af344e78b3">
<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="662af344e7a04">
<!-- group.blade.php -->
<div class="c-group c-group--vertical" data-uid="662af344e79cd">
<!-- typography.blade.php (hasSeenH1) original: h2 -->
<h2 class="c-typography c-card__heading c-typography__variant--h3" data-uid="662af344e796b">
Card #0
</h2>
</div>
</div> <!-- typography.blade.php (hasSeenH1) original: p -->
<p class="c-typography c-card__content c-typography__variant--p" data-uid="662af344e7a53">
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--text-black c-slider__item--layout-center" aria-labeledby="662af344e7c3d__heading" data-uid="662af344e7c3d">
<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="662af344e7add">
<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="662af344e7bae">
<!-- group.blade.php -->
<div class="c-group c-group--vertical" data-uid="662af344e7b82">
<!-- typography.blade.php (hasSeenH1) original: h2 -->
<h2 class="c-typography c-card__heading c-typography__variant--h3" data-uid="662af344e7b53">
Card #1
</h2>
</div>
</div> <!-- typography.blade.php (hasSeenH1) original: p -->
<p class="c-typography c-card__content c-typography__variant--p" data-uid="662af344e7c07">
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--text-black c-slider__item--layout-center" aria-labeledby="662af344e7db6__heading" data-uid="662af344e7db6">
<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="662af344e7c7d">
<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="662af344e7d44">
<!-- group.blade.php -->
<div class="c-group c-group--vertical" data-uid="662af344e7d19">
<!-- typography.blade.php (hasSeenH1) original: h2 -->
<h2 class="c-typography c-card__heading c-typography__variant--h3" data-uid="662af344e7cec">
Card #2
</h2>
</div>
</div> <!-- typography.blade.php (hasSeenH1) original: p -->
<p class="c-typography c-card__content c-typography__variant--p" data-uid="662af344e7d81">
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--text-black c-slider__item--layout-center" aria-labeledby="662af344e7f40__heading" data-uid="662af344e7f40">
<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="662af344e7df5">
<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="662af344e7ed0">
<!-- group.blade.php -->
<div class="c-group c-group--vertical" data-uid="662af344e7ea5">
<!-- typography.blade.php (hasSeenH1) original: h2 -->
<h2 class="c-typography c-card__heading c-typography__variant--h3" data-uid="662af344e7e77">
Card #3
</h2>
</div>
</div> <!-- typography.blade.php (hasSeenH1) original: p -->
<p class="c-typography c-card__content c-typography__variant--p" data-uid="662af344e7f0c">
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',
'textColor' => 'black',
'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
<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="662af344e95085.00761215" data-uid="662af344e9514">
<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="662af344e954b">
<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-outlined material-symbols-outlined--filled c-icon--size-md" aria-hidden="true" material-symbol="keyboard_arrow_left" role="img" aria-label="Icon: Undefined" alt="Icon: Undefined" data-nosnippet="" translate="no" data-uid="662af344e9581">
</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="662af344e95bb">
<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-outlined material-symbols-outlined--filled c-icon--size-md" aria-hidden="true" material-symbol="keyboard_arrow_right" role="img" aria-label="Icon: Undefined" alt="Icon: Undefined" data-nosnippet="" translate="no" data-uid="662af344e95f5">
</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="662af344e8d89__heading" data-uid="662af344e8d89">
<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="662af344e85dc">
<a class="c-link c-segment__image" id="" aria-label="Visit: https://www.helsingborg.se" href="https://www.helsingborg.se" target="_top" data-uid="662af344e86ef">
<div class="c-segment__image " style="background-image: url('https://picsum.photos/seed/0/267'); 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="662af344e8d4e">
<!-- 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="662af344e8ca8">
<!-- group.blade.php -->
<div class="c-group u-width--100 c-group--vertical" data-uid="662af344e8c78">
<!-- typography.blade.php (hasSeenH1) original: h2 -->
<h2 class="c-typography c-segment__title u-margin__bottom--1 c-typography__variant--h3" data-uid="662af344e8c43">
<a class="c-link" id="" href="https://www.helsingborg.se" target="_top" data-uid="662af344e8c07">
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="662af344e8cd6">
<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="662af344e8d0f">
<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="662af344e9006__heading" data-uid="662af344e9006">
<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="662af344e8dd5">
<a class="c-link c-segment__image" id="" aria-label="Visit: https://www.helsingborg.se" href="https://www.helsingborg.se" target="_top" data-uid="662af344e8e25">
<div class="c-segment__image " style="background-image: url('https://picsum.photos/seed/1/267'); 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="662af344e8fd1">
<!-- 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="662af344e8f35">
<!-- group.blade.php -->
<div class="c-group u-width--100 c-group--vertical" data-uid="662af344e8f0a">
<!-- typography.blade.php (hasSeenH1) original: h2 -->
<h2 class="c-typography c-segment__title u-margin__bottom--1 c-typography__variant--h3" data-uid="662af344e8edd">
<a class="c-link" id="" href="https://www.helsingborg.se" target="_top" data-uid="662af344e8ead">
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="662af344e8f61">
<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="662af344e8f96">
<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="662af344e9271__heading" data-uid="662af344e9271">
<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="662af344e904e">
<a class="c-link c-segment__image" id="" aria-label="Visit: https://www.helsingborg.se" href="https://www.helsingborg.se" target="_top" data-uid="662af344e9090">
<div class="c-segment__image " style="background-image: url('https://picsum.photos/seed/2/267'); 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="662af344e923c">
<!-- 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="662af344e9198">
<!-- group.blade.php -->
<div class="c-group u-width--100 c-group--vertical" data-uid="662af344e916e">
<!-- typography.blade.php (hasSeenH1) original: h2 -->
<h2 class="c-typography c-segment__title u-margin__bottom--1 c-typography__variant--h3" data-uid="662af344e9141">
<a class="c-link" id="" href="https://www.helsingborg.se" target="_top" data-uid="662af344e9112">
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="662af344e91c3">
<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="662af344e9201">
<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="662af344e94ce__heading" data-uid="662af344e94ce">
<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="662af344e92b9">
<a class="c-link c-segment__image" id="" aria-label="Visit: https://www.helsingborg.se" href="https://www.helsingborg.se" target="_top" data-uid="662af344e92fa">
<div class="c-segment__image " style="background-image: url('https://picsum.photos/seed/3/267'); 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="662af344e949a">
<!-- 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="662af344e9400">
<!-- group.blade.php -->
<div class="c-group u-width--100 c-group--vertical" data-uid="662af344e93d6">
<!-- typography.blade.php (hasSeenH1) original: h2 -->
<h2 class="c-typography c-segment__title u-margin__bottom--1 c-typography__variant--h3" data-uid="662af344e93a9">
<a class="c-link" id="" href="https://www.helsingborg.se" target="_top" data-uid="662af344e937b">
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="662af344e942b">
<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="662af344e9460">
<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/267",
'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. |