Swiper
A strong pick. 2nd of 8 carousels and sliders.
Swiper is the most complete carousel and slider library for JavaScript. It ships built-in navigation, pagination, effects, virtual slides and a zero-dependency core, and releases come out often. It is a strong pick today when you want those features ready to use. Embla is lighter, more accessible and the default under shadcn/ui, so it suits React projects that want a minimal core better.
Best for: Teams that want a batteries-included slider with effects, modules and framework wrappers, in vanilla JS, React or Vue.
Scores
Overall8.0
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
Swiper is the best-maintained full-featured slider and the clear pick when you want effects and modules ready to use. Embla does better for minimal, accessible React and shadcn/ui setups and is gaining share faster, which keeps Swiper from being the single default. Swiper still ranks well above the unmaintained peers such as Splide, Keen-Slider, Slick and tiny-slider.
- peers: Most peers have had no commits in the last year; Embla and Swiper are the active ones
- pistack.xyz/posts/2026-08-19-swiper-vs-embla-vs-splide-javascript-carousel-libraries-comparison: 2026 comparison of Swiper, Embla and Splide
- swiperjs.com/blog/swiper-v14: v14 shows active modernisation
GPT-6.2 Sol: 8.4, likely 7.3 to 9.3
Swiper is a strong pick for new touch carousels that need built-in controls, effects, or gallery features. Frequent releases and broad framework support make it easier to adopt and maintain. Embla is the stronger choice for a lightweight, custom-styled React carousel, especially in a shadcn/ui project. Slower growth relative to the catalog and limited visibility into publishing controls keep Swiper below a category-wide default.
- swiperjs.com/swiper-api: Covers complex carousel behavior through documented modules.
- github.com/nolimits4web/swiper/releases/tag/v14.4.0: Current stable release fixes several loop, resize, and integration issues.
- ui.shadcn.com/docs/components/base/carousel: The shadcn/ui carousel is built on Embla.
- evidence.npm.downloadsLast4Weeks, evidence.npm.downloadsSame4WeeksYearAgo, and medianDownloadsRatio: Download growth trails the catalog baseline.
- github.com/nolimits4web/swiper/blob/v14.4.0/scripts/release.js: Shows the release procedure but leaves npm publishing access unclear.
Needed by many5.4
How many developers need a tool for this job?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
Carousels appear on many marketing, e-commerce and content sites, but not in most apps. Swiper works in vanilla JS, React, Vue and as web components, so it covers the whole category rather than one framework.
- category scope: Sliders are common on web sites but not needed in most projects
- swiperjs.com/migration-guide-v9: The core plus Swiper Element covers the frameworks that lost their dedicated wrappers
GPT-6.2 Sol: 4.7, likely 3.6 to 5.9
Swipeable slides are a recurring need in product galleries, media browsers, and promotional sites. Swiper works across several web stacks, and simpler sliders can use native CSS scroll snap with a little JavaScript. The developer survey and web crawl give context, but neither measures how many JavaScript and TypeScript developers need this feature.
- survey.stackoverflow.co/2026/work/data: Developer role breakdown gives context for the front-end audience.
- web.dev/articles/carousel-best-practices: Identifies images, products, and promotions as common carousel uses.
- developer.chrome.com/docs/modern-web-guidance/guides/ui-components/carousel: Shows how native scrolling and CSS scroll snap cover basic carousels.
- github.com/nolimits4web/swiper: Documents framework integrations and browser-based use cases.
Helps a lot8.1
How well does it do the job for those who need it?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
Swiper has the richest built-in feature set in the category, and v14 brings TypeScript-generated types and no runtime dependencies. Its limits are a heavy full bundle, accessibility gaps that Embla does not have, and friction in the move from the React wrapper to web components. AI agents know its API well because it has been widely used for years.
- swiperjs.com/blog/swiper-v14: v14 rewritten in TypeScript, no runtime dependencies, builds about 2-4% smaller
- cogapplabs.github.io/carousa11y/research: Accessibility score of 86.4% with keyboard and screen-reader issues; Embla scores 100%
- pkgpulse.com/guides/embla-carousel-vs-swiper-vs-splide-2026: Swiper is heaviest but best for effects; Embla is about 7 KB
- github-redirect.dependabot.com/nolimits4web/swiper/discussions/7354: Users discuss problems with the React wrapper and web components
GPT-6.2 Sol: 8.7, likely 7.7 to 9.7
Swiper 14.4.0 offers a wide range of ready-made features, and the v14 types are generated directly from the source. The API reference and MCP examples give developers and coding agents concrete setup guidance. Loop mode has slide-count constraints, and a report against the release commit found a virtual-slide removal bug. Independent size measurements favor Embla for simpler sliders, though the comparison measured an older Swiper release.
- swiperjs.com/swiper-api: Lists modules, configuration examples, and loop requirements.
- github.com/nolimits4web/swiper/releases/tag/v14.0.0: Documents generated types and consumer type-resolution checks.
- swiperjs.com/swiper-mcp: Gives coding agents access to API documentation and demo code.
- github.com/nolimits4web/swiper/issues/8262: Reports incorrect virtual-slide removal on the 14.4.0 release commit.
- zenn.dev/medirom_tech/articles/4179ed075adf96: Independent React comparison found a smaller Embla footprint.
Holds up over time8.0
Will it still be a good choice in two years?
Claude Opus 5.5: 8.0, likely 7.0 to 9.0
The project has been active since 2012, with 15 releases and 178 commits in the last year and a release on 2026-10-30. The work is funded by Open Collective and by commercial products such as Swiper Studio. The main risk is that one lead maintainer carries most of the work. Major versions come often, but v14 needed no code changes when upgrading from v12.
- github releasesLastYear / commitsLastYear: 15 releases and 178 commits in the last year
- github closedIssues / openIssues: 5630 issues closed and 218 open
- swiperjs.com/blog/swiper-v14: Upgrading from v12 needs no code changes
- maintainer: Mostly maintained by Vladimir Kharlampidi, with commercial side products
GPT-6.2 Sol: 7.9, likely 6.6 to 9.0
Swiper shipped 15 GitHub releases in the past year, and a reported hidden-container crash reached a release fix in 16 days. The project lists sponsors and has a v15 plan to shrink the core. Recent releases come from one GitHub account, and the v14 rewrite raised browser requirements and needed early fixes for regressions in the web component and Vue wrapper.
- evidence.github.commitsLastYear and evidence.github.releasesLastYear: 178 commits and 15 releases in the past year.
- github.com/nolimits4web/swiper/issues/8240: Grid crash reported October 14 and fixed October 30.
- github.com/nolimits4web/swiper/releases: One account publishes recent GitHub releases, including early v14 regression fixes.
- github.com/nolimits4web/swiper/blob/master/PLAN_V15.md: Plans a smaller core while preserving the public API.
- github.com/nolimits4web/swiper/blob/master/BACKERS.md: Lists sponsors. Long-term funding is unclear.
Used widely7.7
How many use it, and is that growing?
Claude Opus 5.5: 8.0, likely 7.0 to 8.5
Swiper has 21.7M downloads per 4 weeks and about 64k dependent repositories, the most direct choices in the category after React Slick's legacy base. Its downloads grew 1.77x in a year, below the 4.1 median, so it is losing ground to Embla, whose 5.6x growth comes largely from installs through shadcn/ui.
- npm downloadsLast4Weeks: 21.7M now against 12.2M a year ago, a ratio of 1.77
- dependents.repos: 63,933 repositories, against 1,228 for Embla
- github stars: 41.9k stars, the most in the category
- medianDownloadsRatio: Growth is below the 4.1 median
GPT-6.2 Sol: 7.3, likely 6.1 to 8.4
The collector found 63,933 dependent repositories and 2,963 dependent packages, putting Swiper ahead of most peers by observed repository use. Downloads rose from 12.2 million to 21.7 million in four weeks, but that 1.77× growth trails both the 4.1× catalog median and Embla’s 5.58×. Embla’s React wrapper installs its core, and Swiper also reaches websites through bundled and CDN copies, so downloads give an imprecise picture of direct choices.
- evidence.dependents, evidence.github.stars, and peers: Swiper has 41,909 stars. React Slick has more observed dependent repositories.
- evidence.npm.downloadsLast4Weeks, evidence.npm.downloadsSame4WeeksYearAgo, peers, and medianDownloadsRatio: Swiper grew 1.77× against the 4.1× catalog median and Embla’s 5.58×.
- github.com/davidjerleke/embla-carousel/blob/v8.6.0/packages/embla-carousel-react/package.json: Embla’s React wrapper installs the core package as a dependency.
- almanac.httparchive.org/en/2024/javascript: HTTP Archive detected Swiper on 15% of sampled desktop and mobile pages in 2024.
- jsdelivr.com/package/npm/swiper: Shows direct CDN distribution outside project installs.
Vouched for7.0
Who stands behind it being good?
Claude Opus 5.5: 6.5, likely 5.5 to 7.5
Ionic recommends Swiper as the replacement for its own slides, and it is widely used in production sites. Independent 2026 guides name it the pick for effects and built-in features. They recommend Embla for most React projects, and an accessibility audit ranks Swiper below Embla. There is no survey data for this category.
- ionicframework.com/docs/ja/react/slides: Ionic's docs tell users to migrate from IonSlides to Swiper
- pkgpulse.com/guides/embla-carousel-vs-swiper-vs-splide-2026: Independent guide recommends Swiper for effects and Embla for most React apps
- cogapplabs.github.io/carousa11y/research: Independent accessibility audit
- hackerNews / bluesky: No discussion found on either
GPT-6.2 Sol: 7.5, likely 6.2 to 8.7
Elementor uses Swiper in its carousel widgets, and Ionic officially recommends it for apps replacing its old slides component. Independent React comparisons and user reports describe easy setup and rich features, with some teams switching to Embla for lower bundle weight or after upgrade friction. These sources mostly cover earlier versions, and current satisfaction and retention are hard to estimate.
- developers.elementor.com/elementor-3-28-developers-update: Elementor documents Swiper as a carousel-widget dependency.
- ionicframework.com/docs/angular/slides: Ionic recommends Swiper Element as the replacement for ion-slides.
- zenn.dev/medirom_tech/articles/4179ed075adf96: Reports a real upgrade problem and compares three React alternatives.
- reddit.com/r/webdev/comments/1quse9p/best_open_source_slideshow_like_carousel_library: Developers value Swiper’s features and report choosing Embla for lighter setups.
Safe6.6
How safe is it to depend on?
Claude Opus 5.5: 6.5, likely 5.5 to 7.5
Swiper has no runtime dependencies and an MIT licence. It has two critical prototype-pollution advisories, and the 2026 one (CVE-2026-27212) came from an incomplete fix of the 2021 one. That flaw was fixed in 12.1.2. The Scorecard is old (2022, 5.9) and shows no branch protection or security policy.
- advisories: Two critical prototype-pollution advisories, in 2021 and 2026
- osv.dev/vulnerability/GHSA-hmx5-qpq5-p643: A bypass of the earlier fix, fixed in 12.1.2
- scorecard: Score 5.9 from 2022; branch protection, security policy and token permissions all score 0
- npm dependencies: No runtime dependencies
GPT-6.2 Sol: 6.6, likely 5.1 to 8.0
Swiper has an MIT licence and zero runtime dependencies. Both listed critical prototype-pollution advisories have fixes, and the 12.1.2 patch was available at public disclosure of the newer issue. The 2022 Scorecard flagged branch protection and token permissions, and GitHub still shows no security policy. The checked-in release script calls npm publish directly, and current publishing access and provenance remain unclear.
- evidence.npm.dependencies and evidence.npm.license: Zero runtime dependencies and a permissive MIT licence.
- github.com/advisories/GHSA-hmx5-qpq5-p643: The 2026 advisory lists 12.1.2 as the patched release.
- github.com/nolimits4web/swiper/releases/tag/v12.1.2: The 2026 patch was released by the time of public disclosure.
- github.com/advisories/GHSA-p3hc-fv2j-rp68: The 2021 advisory lists 6.5.1 as the patched release.
- evidence.scorecard: August 2022 score of 5.9, with zeroes for branch protection and token permissions.
- github.com/nolimits4web/swiper/security/policy: GitHub detects no repository security policy.
- github.com/nolimits4web/swiper/blob/v14.4.0/scripts/release.js: The tagged release script publishes the built package directly to npm.
Good
- Ships many built-in modules: navigation, pagination, autoplay, zoom, virtual slides, thumbs, and cube, coverflow and flip effects.
- Active work: 15 releases and 178 commits in the last year, and v14 was rewritten in TypeScript with types generated from the source.
- Has no runtime dependencies, and its MIT licence works with any project.
- Very wide real use: about 64k dependent repositories, far ahead of Embla's 1.2k.
Bad
- The full bundle is much heavier than Embla's core of about 7 KB.
- Two critical prototype-pollution advisories, the second (2026) caused by an incomplete fix of the first.
- The project pushes users from the React wrapper to Swiper Element (web components), and users report type and integration friction with that route.
- An independent audit found keyboard and screen-reader issues, so it scores lower on accessibility than Embla.
The numbers
- npm downloads, 4 weeks
- 22M +77% in a year
- GitHub stars
- 42k
- Commits, 12 months
- 178
- npm version
- 14.4.0 Oct 2026
- Versions, 12 months
- 16
- Advisories, 24 months
- 1 of 2 ever
- OpenSSF Scorecard
- 5.9 out of 10, Aug 2022
- Licence
- MIT
Read on 21 November 2026 from GitHub (nolimits4web/swiper), npm (swiper), OSV and the OpenSSF Scorecard.