Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

swiper

> 开发工具
Open source

Most modern mobile touch slider with hardware accelerated transitions

41.9K stars0 likes3 views
WebsiteGitHub

About

Most modern mobile touch slider with hardware accelerated transitions

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 Discussions, where you can ask questions, voice ideas, and share your projects

Our Code of Conduct applies to all Swiper community channels.

Dist / Build

On production use files (JS and CSS) only from dist/ folder, there will be the most stable versions.

Development Build

Install all dependencies, in repo's root:


$ npm install

And build development version of Swiper:


$ npm run build

The result is available in dist/ folder.

Running demos:

All demos located in ./playground folder. There you will find Core (HTML, JS), React, Vue versions. To open demo, run:

  • Core: npm run core
  • React: npm run react
  • Vue: npm run vue

Production Build


$ npm run build:prod

Production version will available in dist/ folder.

Contributing

All changes should be committed to src/ files only. Before you open an issue please review the contributing guideline.

Major Roadmapped Features

  • Top Feature Requests (Add your own votes using the 👍 reaction)
  • Top Bugs 😱 (Add your own votes using the 👍 reaction)

Sponsors

  </a>
</td>
<td align="center" valign="middle">
  <a href="https://kaufenfollower.com/" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://buztgrowth.com/" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://global.fun88.com/" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://global.jbo.com/" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://au.trustpilot.com/review/aussieonline.casino" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://au.trustpilot.com/review/bestaustraliaonlinepokies.com" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://casinogam.com/" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://casino-wise.co.uk/" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://nongamstopcasinos.uk/" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://www.cortijolapasion.mx/" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://kasino-ilman-tilia.net/" target="_blank">
    
  </a>
</td>
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://birthinfocus.com/" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://kasinokurko.com/" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://fi.parhaatuudetkasinot.com/" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://royalwriter.co.uk/" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://www.masterpapers.com/" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://casinosfest.com/" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://grademiners.com/" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://ssmarket.net/" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://parimatch.in/en/football/live" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://casinoshunter.com/online-casinos/" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://riverslot.net/" target="_blank">
    
  </a>
</td>
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://www.reddit.com/r/TikTokLounge/comments/1svf7r5/wheres_the_best_site_to_buy_tiktok_views_and/" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://www.healdsburgtribune.com/buy-youtube-views-likes-subscribers/" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://billingsgazette.com/exclusive/article_3e5c7645-1a28-54a0-b4c6-8a5d786c182a.html" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://deltaexecuter.com" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://bulkoid.com/buy-tiktok-likes" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://www.reddit.com/r/MrMarketing/comments/1sxe34y/where_can_i_buy_tiktok_likes_and_views_any/" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://stakelink.in/" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://humanizeaitext.io/" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://zafame.com/" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://viewsnapstories.com/" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://viewtikstories.com/" target="_blank">
    
  </a>
</td>
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://watchthis.dev" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://www.globalsoftwarecompanies.com/" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://www.socialwick.com/twitter/followers" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://www.reddit.com/r/MusicNotes/comments/1pd3vgm/whats_the_best_ai_music_generator_reddit_vote/" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://www.reddit.com/r/TikTokLounge/comments/1v9xhjk/where_can_i_buy_tiktok_likes/" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://prime-digital.ca" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://headshot.ltd" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://leadership.ng/gambling/it/casino-non-aams/" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://www.liceodiazce.it/" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://www.fun88vnplay.com/" target="_blank">
    
  </a>
</td>
<td align="center" valign="middle">
  <a href="https://w

Issues· 235 open

View all issuesOpen on GitHub
  • #7863

    AutoHeight breaks on mobile when using dvh units

    PR WelcomeUpdated Sep 18, 2026
  • #8049

    Angular excessive change detection triggered using Swiper Element with Parameters As Props

    Updated Sep 17, 2026
  • #7969

    swiper.isEnd returns true, disabling the navigation buttons on first load even when slides are available to scroll

    ReactUpdated Sep 16, 2026
  • #8037

    Changing the slider direction while using virtual slides broke the slider

    Updated Sep 9, 2026
  • #8230

    `slidesPerView: 'auto'` with CSS-driven slide widths: `ResizeObserver` causes visible jitter/tremor during a live window resize (vs `resizeObserver: false`)

    t0gglesUpdated Sep 9, 2026
  • #7203

    Skip ending slides per group

    feature requestUpdated Sep 9, 2026
  • #7591

    Swiper Dynamic bullets pagination width issue

    Updated Sep 5, 2026
  • #8229

    elementTransitionEnd uses {once: true} with a bubble guard, so a descendant's transitionend silently consumes the listener

    t0gglesUpdated Sep 4, 2026
  • #8228

    False warning while using breakpoints to change slidesPerView to same number as total slides

    t0gglesUpdated Sep 2, 2026
  • #8227

    Vue: default slot is invoked outside the render function in JSX, logging a warning on every Swiper

    t0gglesUpdated Sep 2, 2026

> Tags

TypeScriptcarouselgallerymobileslider

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 30, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具