<p align="center">
  <img src="https://swiperjs.com/images/share-banner.png"/>
</p>

<p align="center">
  <a href="https://swiperjs.com/get-started">Get Started</a> |
  <a href="https://swiperjs.com/swiper-api">Documentation</a> |
  <a href="https://swiperjs.com/demos">Demos</a>
</p>

<p align="center">
  <a href="https://opencollective.com/swiper">
    <img src="https://opencollective.com/swiper/all/badge.svg?label=financial+contributors" alt="Financial Contributors on Open Collective"/>
  </a>
  <a href="https://github.com/nolimits4web/swiper/actions?query=workflow%3ABuild">
    <img src="https://github.com/nolimits4web/swiper/workflows/Build/badge.svg" alt="Build status"/>
  </a>
  <a href="https://www.jsdelivr.com/package/npm/swiper">
    <img src="https://data.jsdelivr.com/v1/package/npm/swiper/badge?style=rounded" alt="jsDelivr Hits"/>
  </a>
  <a href="https://bundlephobia.com/result?p=swiper">
    <img alt="tree-shakeable" src="https://badgen.net/bundlephobia/tree-shaking/swiper" />
  </a>
  <a href="https://npmjs.org/package/swiper">
    <img alt="types included" src="https://badgen.net/npm/types/swiper" />
  </a>
</p>

<p align="center">
<a href="https://opencollective.com/swiper/" target="_blank">
  <img src="https://opencollective.com/swiper/donate/button@2x.png?color=blue" width=300 />
</a>
</p>

# 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.

## Sponsors

<!-- SPONSORS_TABLE_WRAP -->
<table>
  <tr>
    <td align="center" valign="middle">
      <a href="https://www.bitcoinbuster.com" target="_blank">
        <img src="https://swiperjs.com/images/sponsors/bitcoinbuster-btc-gambling.jpg" alt="Bitcoin Casino" width="160">
      </a>
    </td>
    <td align="center" valign="middle">
      <a href="https://store.ramotion.com/blog/mobile-app-development-full-guide/" target="_blank">
        <img src="https://swiperjs.com/images/sponsors/ramotion.png" alt="How Apps Are Made: Mobile App Development Guide for 2021" width="160">
      </a>
    </td>
    <td align="center" valign="middle">
      <a href="https://casinority.com/au/" target="_blank">
        <img src="https://swiperjs.com/images/sponsors/casinority-australia.png" alt="Best online casinos for Australian players" width="160">
      </a>
    </td>
    <td align="center" valign="middle">
      <a href="https://www.auscasinos.com/new/" target="_blank">
        <img src="https://swiperjs.com/images/sponsors/aus-casinos.png" alt="New Online Casinos in Australia (2021) - Which Sites Are Safe?" width="160">
      </a>
    </td>
    <td align="center" valign="middle">
      <a href="https://www.casinoroyale.es/nuevos-casinos/" target="_blank">
        <img src="https://swiperjs.com/images/sponsors/casino-royal.png" alt="Nuevos Casinos Online en España 2021" width="160">
      </a>
    </td>
  </tr>
  <tr>
    <td align="center" valign="middle">
      <a href="https://onlinecasinohex.nl" target="_blank">
        <img src="https://swiperjs.com/images/sponsors/256-2.png" alt="Onlinecasinohex.nl is the biggest Dutch gambling site that offers a wide range of casino games and slots as well as detailed casino guides, tips and reviews" width="160">
      </a>
    </td>
    <td align="center" valign="middle">
      <a href="https://netticasinohex.com" target="_blank">
        <img src="https://swiperjs.com/images/sponsors/netticasinohex.png" alt="The most informative and honest casino reviews for Finnish players" width="160">
      </a>
    </td>
    <td align="center" valign="middle">
      <a href="https://aussiecasinohex.com" target="_blank">
        <img src="https://swiperjs.com/images/sponsors/hex.png" alt="#1 Aussie Gambling Guide" width="160">
      </a>
    </td>
    <td align="center" valign="middle">
      <a href="https://www.leoboost.com/buy-instagram-likes" target="_blank">
        <img src="https://swiperjs.com/images/sponsors/leoboost.png" alt="Buy real Instagram Likes - 100% Real & Instant Likes" width="160">
      </a>
    </td>
    <td align="center" valign="middle">
      <a href="https://papersowl.com/pay-for-research-paper" target="_blank">
        <img src="https://swiperjs.com/images/sponsors/papersowl.png" alt="Pay Someone to Write My Research Paper" width="160">
      </a>
    </td>
  </tr>
  <tr>
    <td align="center" valign="middle">
      <a href="https://studyclerk.com" target="_blank">
        <img src="https://swiperjs.com/images/sponsors/studyclerk.png" alt="Professional Essay Writing Service from Top Providers - Study Clerk" width="160">
      </a>
    </td>
    <td align="center" valign="middle">
      <a href="https://www.123calendars.com" target="_blank">
        <img src="https://swiperjs.com/images/sponsors/calendar.png" alt="2021 Printable Calendar" width="160">
      </a>
    </td>
    <td align="center" valign="middle">
      <a href="https://goread.io/buy-instagram-likes" target="_blank">
        <img src="https://swiperjs.com/images/sponsors/goread.png" alt="Instagram likes" width="160">
      </a>
    </td>
    <td align="center" valign="middle">
      <a href="https://大吉カジノ.jp" target="_blank">
        <img src="https://swiperjs.com/images/sponsors/daikichi.png" alt="最高オンラインカジノ日本｜日本人のためにトップ20✚オンラインカジノ" width="160">
      </a>
    </td>
    <td align="center" valign="middle">
      <a href="https://www.estepera.com" target="_blank">
        <img src="https://swiperjs.com/images/sponsors/estepera.png" alt="Hair transplant Turkey" width="160">
      </a>
    </td>
  </tr>
  <tr>
    <td align="center" valign="middle">
      <a href="https://elroyalecasino.com/games/blackjack" target="_blank">
        <img src="https://swiperjs.com/images/sponsors/elroyalcasino.png" alt="Play Online Blackjack at elroyalecasino.com" width="160">
      </a>
    </td>
    <td align="center" valign="middle">
      <a href="https://www.codefirst.co.uk" target="_blank">
        <img src="https://swiperjs.com/images/sponsors/codefirst.png" alt="Software Development Company | CodeFirst UK" width="160">
      </a>
    </td>
    <td align="center" valign="middle">
      <a href="https://krootez.com" target="_blank">
        <img src="https://swiperjs.com/images/sponsors/krootez.svg" alt="Krootez - Best Place To Buy Instagram Followers, Likes & Views" width="160">
      </a>
    </td>
    <td align="center" valign="middle">
      <a href="https://hollandsegokken.nl" target="_blank">
        <img src="https://swiperjs.com/images/sponsors/hollandsegokken.png" alt="Gokken in online casino’s begint bij Hollandsegokken.nl!" width="160">
      </a>
    </td>
    <td align="center" valign="middle">
      <a href="https://nettcasinobonus.com/" target="_blank">
        <img src="https://swiperjs.com/images/sponsors/nettcasinobonus.png" alt="Få bransjens beste casino bonus " width="160">
      </a>
    </td>
  </tr>
  <tr>
    <td align="center" valign="middle">
      <a href="https://www.5bingosites.com" target="_blank">
        <img src="https://swiperjs.com/images/sponsors/5bingosites-com.png" alt="Exclusive £5 Deposit Bingo Bonuses - £5 Bingo Sites" width="160">
      </a>
    </td>
    <td align="center" valign="middle">
      <a href="https://realcasinoscanada.com" target="_blank">
        <img src="https://swiperjs.com/images/sponsors/realcasinoscanada.png" alt="Your guide to the world of Canadian online gambling sites in 2021" width="160">
      </a>
    </td>
    <td align="center" valign="middle">
      <a href="https://nederlandscasinos.net" target="_blank">
        <img src="https://swiperjs.com/images/sponsors/nederlandscasinos.png" alt="Online Casinos Nederland - Betrouwbare NL Goksites" width="160">
      </a>
    </td>
    <td align="center" valign="middle">
      <a href="https://www.stashbird.com" target="_blank">
        <img src="https://swiperjs.com/images/sponsors/stashbird.png" alt="Online Casino Canada → Best Online Casino" width="160">
      </a>
    </td>
    <td align="center" valign="middle">
      <a href="https://anbefaltcasino.com" target="_blank">
        <img src="https://swiperjs.com/images/sponsors/256.png" alt="AnbefaltCasino.com | Guiden til de beste norske casino" width="160">
      </a>
    </td>
  </tr>
  <tr>
    <td align="center" valign="middle">
      <a href="https://friendlylikes.com" target="_blank">
        <img src="https://swiperjs.com/images/sponsors/friendlylikes-logo.png" alt="Friendlylikes - Order Instagram Followers, Likes, and Views Easily!" width="160">
      </a>
    </td>
    <td align="center" valign="middle">
      <a href="https://www.aumentosocial.com" target="_blank">
        <img src="https://swiperjs.com/images/sponsors/aumentosocial-logo.png" alt="Crece en Instagram, Facebook, YouTube y TikTok | AumentoSocial" width="160">
      </a>
    </td>
    <td align="center" valign="middle">
      <a href="https://socialsup.net" target="_blank">
        <img src="https://swiperjs.com/images/sponsors/socials-up.png" alt="Buy 100% Cheap SMM Services - Instagram, YouTube, Twitter" width="160">
      </a>
    </td>
    <td align="center" valign="middle">
      <a href="https://writersperhour.com" target="_blank">
        <img src="https://swiperjs.com/images/sponsors/writers-per-hour.png" alt="Custom Paper Writing and Editing Service | Essay Writing Help" width="160">
      </a>
    </td>
    <td align="center" valign="middle">
      <a href="https://easy-views.org" target="_blank">
        <img src="https://swiperjs.com/images/sponsors/easy-views.png" alt="easy-views.org - High Retention Youtube Views" width="160">
      </a>
    </td>
  </tr>
</table>
<!-- SPONSORS_TABLE_WRAP -->

## 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 caclulations. 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](https://github.com/nolimits4web/swiper/discussions), where you can ask questions, voice ideas, and share your projects

To chat with other community members you can join the [Swiper Discord](https://discord.gg/BUpd4UTkgj)

Our [Code of Conduct](https://github.com/nolimits4web/swiper/blob/master/CODE_OF_CONDUCT.md) applies to all Swiper community channels.

## Dist / Build

On production use files (JS and CSS) only from `package/` folder, there will be the most stable versions, `build/` folder is only for development purpose.

### Development Build

Install all dependencies, in repo's root:

```

$ npm install

```

And build development version of Swiper:

```

$ npm run build:dev

```

The result is available in `build/` folder.

### Running demos:

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

- **Core**: `npm run core`
- **React**: `npm run react`
- **Vue**: `npm run vue`
- **Svelte**: `npm run svelte`
- **Angular**: `npm run angular`

### Production Build

```

$ npm run build:prod

```

Production version will available in `package/` folder.

## Contributing

All changes should be committed to `src/` files only. Before you open an issue please review the [contributing](https://github.com/nolimits4web/swiper/blob/master/CONTRIBUTING.md) guideline.

## Major Roadmapped Features

- [Top Feature Requests](https://github.com/nolimits4web/swiper/issues?q=is%3Aissue+is%3Aopen+label%3A%22feature+request%22+sort%3Areactions-%2B1-desc+) (Add your own votes using the 👍 reaction)
- [Top Bugs 😱](https://github.com/nolimits4web/swiper/issues?q=is%3Aissue+is%3Aopen+-label%3A%22feature+request%22++sort%3Areactions-%2B1-desc+) (Add your own votes using the 👍 reaction)

## Contributors

### Code Contributors

This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].
<a href="CODE_CONTRIBUTORS.md"><img src="https://opencollective.com/swiper/contributors.svg?width=890&button=false" /></a>

### Financial Contributors

Become a financial contributor and help us sustain our community. [[Contribute](https://opencollective.com/swiper/contribute)]

#### Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [[Contribute](https://opencollective.com/swiper/contribute)]

<a href="https://opencollective.com/swiper/organization/0/website"><img src="https://opencollective.com/swiper/organization/0/avatar.svg"></a>
<a href="https://opencollective.com/swiper/organization/1/website"><img src="https://opencollective.com/swiper/organization/1/avatar.svg"></a>
<a href="https://opencollective.com/swiper/organization/2/website"><img src="https://opencollective.com/swiper/organization/2/avatar.svg"></a>
<a href="https://opencollective.com/swiper/organization/3/website"><img src="https://opencollective.com/swiper/organization/3/avatar.svg"></a>
<a href="https://opencollective.com/swiper/organization/4/website"><img src="https://opencollective.com/swiper/organization/4/avatar.svg"></a>
<a href="https://opencollective.com/swiper/organization/5/website"><img src="https://opencollective.com/swiper/organization/5/avatar.svg"></a>
<a href="https://opencollective.com/swiper/organization/6/website"><img src="https://opencollective.com/swiper/organization/6/avatar.svg"></a>
<a href="https://opencollective.com/swiper/organization/7/website"><img src="https://opencollective.com/swiper/organization/7/avatar.svg"></a>
<a href="https://opencollective.com/swiper/organization/8/website"><img src="https://opencollective.com/swiper/organization/8/avatar.svg"></a>
<a href="https://opencollective.com/swiper/organization/9/website"><img src="https://opencollective.com/swiper/organization/9/avatar.svg"></a>

#### Individuals

<a href="https://opencollective.com/swiper"><img src="https://opencollective.com/swiper/individuals.svg?width=890"></a>
