Swiper VS PhotoSwipe

Compare Swiper vs PhotoSwipe and see what are their differences.


Most modern mobile touch slider with hardware accelerated transitions (by nolimits4web)


JavaScript image gallery for mobile and desktop, modular, framework independent (by dimsemenov)
Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • Scout APM - Less time debugging, more time building
  • SonarQube - Static code analysis for 29 languages.
Swiper PhotoSwipe
42 5
31,093 21,838
- -
9.5 9.2
2 days ago 9 days ago
JavaScript JavaScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of Swiper. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-23.


Posts with mentions or reviews of PhotoSwipe. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-07-02.
  • PhotoSwipe v5 released
    1 project | reddit.com/r/webdev | 29 Mar 2022
  • Tell HN: If You Are in Russia
    1 project | news.ycombinator.com | 1 Mar 2022
    I am in Ukraine right now. In a small village to the north of Kyiv. I am the author of PhotoSwipe (https://github.com/dimsemenov/photoswipe).

    Yesterday I was filling bags with sand to make a fortification for local defenders. I hear artillery as I am writing this. And by the way, you get used to it.

    In the last few days I received about 20 emails offering support, none of them were from russian devs. One asked a technical question about my lib, I answered "do you know what's happening in Ukraine right now?" - no reply.

    I see a few russian companies and personalities openly condemn the aggression (such as JetBrains) and I'm very grateful to them. However most are silent, or have very weak Instagram post "no war" with a sadface, or even worse - post with "we are out of politics".

    And that's IT people, which are presumably more informed. Unfortunately, due to misinformation most russian people have no idea what's happening here, that's why sanctions should affect regular people, and not just putin and his close allies.

  • Is there a website where i can buy a image gallery like this?
    2 projects | reddit.com/r/node | 2 Jul 2021
    Or do you mean something like https://photoswipe.com or https://www.lightgalleryjs.com?
  • PhotoSwipe v5 beta now available
    1 project | reddit.com/r/webdev | 29 Apr 2021
  • Examples of internet facing production sites built with Blazor?
    5 projects | reddit.com/r/Blazor | 1 Apr 2021
    I see mention of Telerik with telerik-blazor.js, but I don't see a lot of it in the UI. Mostly it's Bootstrap 4 for layout, but it also features Owl Carousel and Video.js. I also see some use of PhotoSwipe.

What are some alternatives?

When comparing Swiper and PhotoSwipe you can also consider the following projects:

slick - the last carousel you'll ever need

Owl Carousel 2 - DEPRECATED jQuery Responsive Carousel.

Flickity - :leaves: Touch, responsive, flickable carousels

Glide.js - A dependency-free JavaScript ES6 slider and carousel. It’s lightweight, flexible and fast. Designed to slide. No less, no more

reveal.js - The HTML Presentation Framework

splide - Splide is a lightweight, flexible and accessible slider/carousel written in TypeScript. No dependencies, no Lighthouse errors.

Tiny Slider 2 - Vanilla javascript slider for all purposes.

FlexSlider - An awesome, fully responsive jQuery slider plugin

react-slick - React carousel component

Embla Carousel - www.embla-carousel.com: A lightweight carousel library with fluid motion and great swipe precision.