Skip to content

Most modern mobile touch slider with hardware accelerated transitions

License

Notifications You must be signed in to change notification settings

victoralbino/swiper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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 Top ui/ux design agencies Online Casinos Canada 🏆 Best Online Casinos in Canada for 2021 Review | CasinosHunter How Apps Are Made: Mobile App Development Guide for 2021 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 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 Designer Furniture, Lighting & Home Accessories – Houseloom Інтернет казино онлайн – ТОП online casino України для гри в ігрові автомати
Kasyno Online Legalne Polska ⚡️ Ranking Kasyn Grudzień 2021 ! Casino Online Österreich ❤️ Beste Online Casinos Österreich 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 Messaged: Email Marketing Automation for SaaS Businesses Best Phone Tracker Apps without Permission in 2021【for iOS & Android】 Best Online Casino Sites In Australia Home Of The Giant Pick & Mix Sweet Boxes - Man Vs Sweets
Buy Instagram Likes Red Dog Online Casino Casino en Ligne Argent Réel au Canada: Meilleurs Sites de 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 Casino Online Portugal ✅ 5000 € BONUS ⚡️ Outubro 2021 Casinos Dansk CasinoHEX ☑️ Guide til Bedste Online Casinoer i Danmark
CryptoGambleTips - 70+ casino reviews, exclusive bonus & games guides Norsk Casino Guide - Casino og odds på nett - Norsk-bet.com 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
Latest Offers, Coupons, Cashbacks, Referral codes and deals - TechBuy.in Kasyno Na Prawdziwe Pieniadze Online 2021: Spróbuj Teraz! 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] Billigste Bredbånd Priser - Sammenlign Lynhurtigt Bredbånd Free Bets
Migliori siti di scommesse e Casino Online - Top [2021] - bookmakers italiani Bet-fi.com - Vedonlyönti, bonukset ja nettikasinot - Suomen casino-opas 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 🥇 Wealth Management - The Ultimate Guide For Investors The Best Online Casinos in the UK » Gambling Sites by Casinosters 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 Instagram likes
Play Online Blackjack at elroyalecasino.com Software Development Company | CodeFirst UK 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 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, 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: 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

About

Most modern mobile touch slider with hardware accelerated transitions

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 78.2%
  • TypeScript 9.7%
  • SCSS 3.1%
  • HTML 3.1%
  • Less 3.0%
  • Svelte 1.9%
  • Other 1.0%