nolimits4web /swiper
Most modern mobile touch slider with hardware accelerated transitions
★ 41,908⑂ 9,567👁 659⑃ 943● 5,845▤ 106◈ 1,197
41,908
stars
+2
9,567
forks
659
watchers
943
prs
5,845
issues
106
releases
1,197
discussions
README
Get Started |
Documentation |
Demos
Swiper
Swiper - is the free and most modern mobile touch slider with hardware accelerated transitions and amazing native behavior. It is intended to be used in mobile websites, mobile web apps, and mobile native/hybrid apps.
Swiper is not compatible with all platforms, it is a modern touch slider which is focused only on modern apps/platforms to bring the best experience and simplicity.
Features
- Tree-shakeable: Only modules you use will be imported into your app's bundle.
- Mobile-friendly: It is intended to be used in mobile websites, mobile web apps, and mobile native/hybrid apps.
- Library Agnostic: Swiper doesn't require any JavaScript libraries like jQuery, which makes Swiper much smaller and faster. It can be safely used with libraries such as jQuery, Zepto, jQuery Mobile, etc.
- 1:1 Touch movement: By default, Swiper provides 1:1 touch movement interaction, but this ratio can be configured through Swiper settings.
- Mutation Observer: Swiper has an option to enable Mutation Observer, with this feature Swiper will be automatically reinitialized and recalculate all required parameters if you make dynamic changes to the DOM, or in Swiper styles itself.
- Rich API: Swiper comes with a very rich API. It allows creating your own pagination, navigation buttons, parallax effects and many more.
- RTL: Swiper is the only slider that provides 100% RTL support with correct layout.
- Multi Row Slides Layout: Swiper allows a multiple row slides layout, with a few slides per column.
- Transition Effects: Fade, Flip, 3D Cube, 3D Coverflow.
- Two-way Control: Swiper may be used as controller for any number of other Swipers, and even be controlled at the same time.
- Full Navigation Control: Swiper comes with all required built-in navigation elements, such as Pagination, Navigation arrows and Scrollbar.
- Flexbox Layout: Swiper uses modern flexbox layout for slides layout, which solves a lot of problems and time with size calculations. Such layout also allows configuring the Slides grid using pure CSS.
- Most Flexible Slides Layout Grid: Swiper has a lot of parameters on initialization to make it as flexible as possible. You can control slides per view, per column, per group, space between slides, and many more.
- Images Lazy Loading: Swiper Lazy Loading delays loading of images in inactive/invisible slides until the user swipes to them. Such feature could make the page load faster and improve Swiper performance.
- Virtual Slides: Swiper comes with Virtual Slides feature that is great when you have a lot of slides or content-heavy/image-heavy slides so it will keep just the required amount of slides in DOM.
- Loop mode
- Autoplay
- Keyboard control
- Mousewheel control
- Nested sliders
- History navigation
- Hash navigation
- Breakpoints configuration
- Accessibility (A11y)
- And many more ...
Community
The Swiper community can be found on GitHub DiscussionsTop issues
#4599Vertical Swiper + autoHeight50 comments · 2021-05-22#4076Swiper CLS (Cumulative Layout Shift) on PageSpeed Insights49 comments · 2020-12-23#7148Combination of [loop, slideToClickedSlide, centeredSlides] doesn't show elements properly33 comments · 2023-10-30#7239Next slide is not visible in a loop mode and slidesPerView set to more than 130 comments · 2023-12-06#6913[Swiper Element] Server Side Component Support17 comments · 2023-08-07#4006The slider display will inevitably break if a link, placed in one of the slides gets focused by tab key.16 comments · 2020-12-04#7591Swiper Dynamic bullets pagination width issue15 comments · 2024-06-26#6263Swiper Navigation Events Are Triggered Twice When Using Breakpoints14 comments · 2022-12-09
Discussions
#8222Has anyone shipped vertical Swiper with a fixed video background in WeChat?1 comments · 2026-08-27#8199CSS first1 comments · 2026-07-01#8193How could I reset the position of a child swiper when changing slides in the parent swiper in a nested swiper setup?1 comments · 2026-06-10#8192swiper thumb gallery click problem1 comments · 2026-06-08#8187Why .destroy occurs err?0 comments · 2026-05-19#8182Is swiper vue future proof?0 comments · 2026-04-13#8177Final event1 comments · 2026-04-10#8166Autoplay combined with fade effect not working1 comments · 2026-02-26
Latest release
v14.4.0 v14.4.0 2026-10-30Bug Fixes autoplay: ignore start() and stop() on a destroyed instance (8251) (ef055a6), closes 8036 core: defer layout updates until a hidden container has a size (8243) (58b4c85), closes 8240 core: keep cssMode sliders on their slide when a resize moves the scroll (8250) (e7d7bdc), closes 8246 8246 8254 8246 8254 core: loop forward navigation with few slides (cards effect, loopAdditionalSlides) (e17098c), closes 8008 core: mount elements from another window (iframe) (947ed58), closes 8245 core: slidePrev overshoot with slidesPerView auto + slidesPerGroupAuto (602988e), closes 8235 cor