Splide is a lightweight, flexible and accessible slider/carousel written in TypeScript. No dependencies, no Lighthouse errors.
perPage
to greater than 1, enabling focus
and disabling trimSpace
(#919).update()
method for direct call (internal use only).is-overflow
class on the root element and emits the overflow
event. This also allows you to center contents when there are not enough slides. Visit this page for more details.omitEnd
option that omits some pagination dots that do not move a carousel but just changes the active slide. Also it disables a next arrow when a carousel reaches the last page. Visit this page for more details.lazyLoad
is enabled (#867)display: none
if the pagination
option is false
(#866)perPage
and focus
is available (#848)AutoScroll.speed
so that a carousel is able to scroll backwards (#860)prefers-reduced-motion
media featurebreakpoints
behave like CSS media query, ensuring the same carousel between window resize and page load (#693, #694)direction
option responsiverewindByDrag
option (#663):focus-visible
for IE and Safari, and add focus styles to themesVisit here for more details.
fade
type specified by the data attribute (#659)arrows: false
(#654)