/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

VPN Unlimited – Encrypted, Secure & Private online VPN service Online Casino Test 2022 » 90+ Casinos von Experten geprüft! Kasinot | Löydä parhaat nettikasinot (2022) Rahapelit netissä - Löydä parhaat pelisivut rahapeleihin Paras nettikasino (2021) - Löydä listalta parhaat nettikasinot Online sports betting and casino at Parimatch India Casinos not on GamStop | Casino-Wise.com Casinos not on GamStop UK 🏆 NonGamStopWager.com
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 College Essay Writing Service - Get Qualified Help Rapidly UK Online Casinos, Slot Machines, and Bonuses | TheCasinoDB Online Casinos Canada 🏆 Best Online Casinos in Canada for 2021 Review | CasinosHunter
Best online casinos for Australian players 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 Casinos Not on GamStop » Most Trusted Non GamStop UK Casinos ⭐️ UK Betting Sites List 2022 - UK's Full List Of Betting Sites Top FREE Crypto Sign Up Bonuses & Referral Codes
Best Crypto Casinos | Top Bitcoin Gambling Sites (2022) Greece Golden Visa paraphrasing tool Graveerbare Sieraden Aviator aposta ᐈ Jogo de avião Aviator Buy Instagram Followers UK for £1.99 Only - Active & Real Followers Best US Online Casino Sites 2022 ᐅ Top 10 USA Online Casinos VPNs, Firestick, Kodi & IPTV Tips
Casino en Ligne Argent Réel au Canada: Meilleurs Sites de Casino Polskie Kasyno Online 2022: Najlepsze Kasyna Online w Polsce nettikasinot kuninkaat Download Android apps apk Best Crypto Casinos (2022) - DoubleTheBitcoin.net Discover The Best Reputable Online Casinos in Canada Best Bitcoin Casinos (April 2022) → Every Crypto Casino Ranked 1394TA: Buy Instagram Followers and Likes starting at 1.49$
Dental clinic in Katowice (Poland). Invisalign, orthodontics, pediatric dentistry. The Most Popular Stuff On The Internet Buy Instagram Comments - 100% Anonymous | Poprey Internet Free Slots | Free Internet Slot Machines to Play for Fun Australia MY Sports Injury Clinic ® Manchester City Centre Correct Casinos | The Ultimate Guide to the Legit Online Casinos Buy Facebook Likes & Followers UK UK Gambling Sites - Trusted Online Casinos & Betting Sites
Vedonlyöntibonukset.org - Parhaat vedonlyöntisivustot veikkaamiseen! Casino.xyz Vertailee pikavipit ja pikalainat IB extended essay writing service Best Canadian online casinos by TOP-CanadianCasinos.com A Premium Leather Manufacturer and Retailer with a heritage of 35 years in leather apparel and accessories manufacturing Best place to Build your Following on Instagram & Youtube - INSTAPPLE NYC Jackets
Lån penge i Danmark 2022 - Find nye lån | Billigzonen.dk homework helper Online Bingo - Play Bingo Games | Barbados Bingo Інтернет казино онлайн – ТОП online casino України для гри в ігрові автомати Kasyno Online Legalne Polska ⚡️ Ranking Kasyn Grudzień 2021 ! Wettanbieter Vergleich » beste Sportwettenanbieter im Test Timeshare exit company reviews Instant Withdrawal Casino Sites Worth Visiting in 2021
Bejamas: Jamstack developers for hire. Bitcoin Casino Winz.io - No Wagering Crypto Casino Crypto Casinos 2021 » Top Gambling Sites with Cryptocurrencies! 22bet Mirror Link - Sports Betting - 22bet review Polskielajki ⭐️ - Kup lajki i obserwacje już od 9,99 PLN Online Slots - UK Slot Games - 500 FREE Spins at Wizard Slots Buy YouTube Subscribers & Views UK @ just £1.99 - Boostlikes Best Phone Tracker Apps without Permission in 2021【for iOS & Android】
Best Online Casino Sites In Australia Buy Instagram Likes Red Dog Online Casino Fortune Games® | Free Spins No Deposit Slot Games | Online Slots List of All the Best Online Casinos - Ultimate Casino List! Parhaat bonukset netin rahapeleihin | Bonukset.fi Dansk CasinoHEX ☑️ Guide til Bedste Online Casinoer i Danmark CryptoGambleTips - 70+ casino reviews, exclusive bonus & games guides
Ace Online Casino: Blackjack, Roulette, Slots and Bingo Online Casinos UK List 2021 | Online Casinos XYZ Avenger Slots Obstawianie meczy, bonusy bukmacherskie oraz kody promocyjne SEO25: Buy Website Traffic Today - Real Targeted Traffic Paras Nettikasino Lista | JÄTTI-LISTAUS: Parhaat Kasinot Online Gambling Pennsylvania — Toplist of Legal Websites to Gamble Buy Targeted Organic Traffic | Organic Search Traffic to Website
LÅN PENGE NU | Hurtige Online lån 2021 | Klik her og Ansøg i dag 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 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] Free Bets Migliori siti di scommesse e Casino Online - Top [2021] - bookmakers italiani Get the most out of Social Media - Boosbe VPN for Chrome to Make Web Surfing 100% Safe VPN Test CasinoExpo casino utan registrering
Best Bitcoin Casinos » Find The Best Crypto Casino Inkedin - The Online Gambling News Hub Ranking Bukmacherów Legalnych 2020. Bukmacher nr 1 to... VPS Hosting | Buy Cheap VPS | Free VPS Server 7 Days Trial 🥇 The Best Online Casinos in the UK » Gambling Sites by Casinosters Deposit £10 Play with 30, 40, 50, 60, 70, or 80 Pounds✔️ GambLizard Professional Essay Writing Service from Top Providers - Study Clerk Instagram likes
Hair transplant Turkey Play Online Blackjack at elroyalecasino.com Software Development Company | CodeFirst UK 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 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 find Core (HTML, JS), React, Vue, Solid, Svelte and Angular versions. To open demo, run:

  • Core: npm run core
  • React: npm run react
  • Vue: npm run vue
  • Solid: npm run solid
  • Svelte: npm run svelte
  • Angular: first run npm run build:prod and then 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