/swiper

Most modern mobile touch slider with hardware accelerated transitions

Primary LanguageJavaScriptMIT LicenseMIT

Get Started | Documentation | Demos

Financial Contributors on Open Collective Build status jsDelivr Hits tree-shakeable types included

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

Custom Web Development Company [AppKong] Parhaat nettikasinot 2021 - Valitse listalta paras kasino Casino utan spelpaus Casinot | Tässä parhaat netticasinot 2021 - Katso lista Quality Casinos 2021 ☆ Best Online Casino Sites Review - CasinoAuditor Best Online Casinos in Canada [2021] ⚡Trusted Reviews by Casinosterson College Essay Writing Service - Get Qualified Help Rapidly UK Online Casinos, Slot Machines, and Bonuses | TheCasinoDB
Casino Utan Svensk Licens 🥇 2021 Norges Casino 🥇Beste Online Casino Guide [ 2021 ] The biggest casino online site from 1999, we have the best casino online and honest review on our site so users can check what casino is safe to play on. Casino Utan Svensk Licens och Spelpaus med BankID 2021 Los cinco mejores casinos online en Chile para 2021 Top ui/ux design agencies Online Casinos Canada 🏆 Best Online Casinos in Canada for 2021 Review | CasinosHunter オンラインカジノ リストとランキング 2021 - カジノ .com | Kajino
Bitcoin Casino How Apps Are Made: Mobile App Development Guide for 2021 Best online casinos for Australian players New Online Casinos in Australia (2021) - Which Sites Are Safe? Nuevos Casinos Online en España 2021 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 The most informative and honest casino reviews for Finnish players #1 Aussie Gambling Guide
Pay Someone to Write My Research Paper Buy Instagram Followers - Cheap & Instant - $3.90 per 1.000 Aapeli.net | Ilmaiset pelit ja nettipelit (2021) Casinoclaw » Reviews, bonuses & free spins Parhaat nettikasinot (2021) - Katso tästä paras kasino! Coupons4Printing: Promotion Codes, Coupons, Coupon Codes 2021 Find a Driving Instructor Near You | Book Learn Pass Real Time Communications World
Erik Kings Zamsino Bonus seiten Review of the best online casino in Italy Online Casino HEX - Best Online Casinos in Canada [2021] Billigste Bredbånd Priser - Sammenlign Lynhurtigt Bredbånd Free Bets | Latest Offers & Bonuses July | #fb #1 Migliori siti di scommesse e Casino Online - Top [2021] - bookmakers italiani Mobilemall: Mobile Phone Prices in Pakistan - WhatMobile Bet-fi.com - Vedonlyönti, bonukset ja nettikasinot - Suomen casino-opas
Get the most out of Social Media - Boosbe Top 5 Best Bitcoin Casinos Reviewed & Ranked (2021 Updated) VPN for Chrome to Make Web Surfing 100% Safe VPN Test GhostBed Reviews: Everything you need to know on GhostBed Mattress | Discover Magazine CasinoExpo casino utan registrering Inkedin - The Online Gambling News Hub Casino utan spelpaus – vad är det? Lär dig vad det betyder
Ranking Bukmacherów Legalnych 2020. Bukmacher nr 1 to... Try 1 Dollar Deposit Casino in Canada ✅ $1 Minimum Deposit Mobile Casino VPS Hosting | Buy Cheap VPS | Free VPS Server 7 Days Trial 🥇 Wealth Management - The Ultimate Guide For Investors The Best Online Casinos in the UK » Gambling Sites by Casinosters Buy Instagram Views with PayPal or Credit card | Poprey Deposit £10 Play with 30, 40, 50, 60, 70, or 80 Pounds✔️ GambLizard Top FREE Crypto Sign Up Bonuses & Referral Codes
Professional Essay Writing Service from Top Providers - Study Clerk 2021 Printable Calendar Instagram likes Hair transplant Turkey Play Online Blackjack at elroyalecasino.com Software Development Company | CodeFirst UK Krootez - Best Place To Buy Instagram Followers, Likes & Views Gokken in online casino’s begint bij Hollandsegokken.nl!
Få bransjens beste casino bonus Exclusive £5 Deposit Bingo Bonuses - £5 Bingo Sites Online Casino Canada → Best Online Casino AnbefaltCasino.com | Guiden til de beste norske casino Friendlylikes - Order Instagram Followers, Likes, and Views Easily! Crece en Instagram, Facebook, YouTube y TikTok | AumentoSocial Website that Writes Essays for You - Paperell.com Buy 100% Cheap SMM Services - Instagram, YouTube, Twitter
Custom Paper Writing and Editing Service | Essay Writing Help easy-views.org - High Retention Youtube Views

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, 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 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 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

Contributors

Code Contributors

This project exists thanks to all the people who contribute. [Contribute].

Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

postinstall message

Swiper is searching for backers, so the package shows a message about it after installation. If it causes problems for you, you can disable it:

ADBLOCK=true npm install
// or
DISABLE_OPENCOLLECTIVE=true npm install
// or
npm install --loglevel silent

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]

Individuals