Swiper

A hardware-accelerated, mobile-first touch slider for carousels, galleries, and slideshows

Library
npm
v14.1.0
41,881stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
94/100Excellent
Development Activity92
Maintenance96
Community88
Maturity60
Momentum40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation.How we score it →
83/100Excellent
Architecture87
Code Quality88
Innovation83
Learning Curve75

Swiper is a touch slider library built for mobile-first, hardware-accelerated transitions, used to build carousels, image galleries, product sliders, and full-page slideshows. Its core is framework-agnostic vanilla JS/TypeScript, with official React, Vue, and native web-component (swiper-container/swiper-slide) bindings shipped from the same package.

The library is organized around a modular plugin system — effects (fade, cube, coverflow, flip), navigation, pagination, autoplay, virtual slides, and free-mode scrolling are all opt-in modules layered on top of a lean core, keeping bundle size down for consumers who only need basic slide behavior.

What You Get

  • A vanilla JS/TypeScript core with drag, swipe, and momentum-based touch handling
  • Official React and Vue component wrappers plus a native web-component build (<swiper-container>)
  • A modular plugin system for navigation, pagination, autoplay, virtual slides, and free-mode scrolling
  • Built-in transition effects: fade, cube, coverflow, flip, and cards
  • Responsive breakpoints and RTL layout support out of the box

Common Use Cases

  • E-commerce product image galleries and “you may also like” carousels
  • Full-page or hero image/content slideshows on marketing and landing pages
  • Mobile app-like swipeable onboarding screens and tab interfaces
  • Card-based UIs (testimonial carousels, feature showcases) using the built-in cards/coverflow effects

Under The Hood

Architecture: Swiper’s core (src/core/core.ts, ~1,400 lines) implements a class-based Swiper object that manages slide positioning, touch/drag event handling, transitions, and a lifecycle of internal update/translate/loop modules (src/core/update, src/core/translate, src/core/loop). Framework bindings (src/react, src/vue, swiper-element.ts) are thin adapters that wrap this same core class rather than reimplementing slider logic per framework, so behavior stays consistent across React, Vue, and vanilla usage.

Tech Stack: Written in TypeScript, compiled via a custom build script (scripts/build) rather than a standard bundler config, with oxfmt for formatting and tsc --noEmit for type-checking. No runtime dependencies — the core ships dependency-free by design to keep bundle size minimal.

Code Quality: The tests/ directory includes contract tests (dist-contract.test.mjs), SSR compatibility tests, DOM tests for the web-component build, and dedicated consumer-type-checking tests (consumer-types-test) that validate the published .d.ts files actually work for consumers — an unusually thorough type-safety net for a UI library. A bundle-size.js script also tracks output size regressions as part of CI.

API Design: The plugin/module system lets consumers import only the modules they need (e.g. Navigation, Pagination, Autoplay), keeping the base import small; this requires learning which modules exist, giving it a moderate learning curve, but the framework-native components (<Swiper>, <SwiperSlide> in React/Vue) make basic usage very approachable with minimal boilerplate.

Used by 9 apps in this directory

Other

Akaunting

Invoicing Finance

10,070

Open-source online accounting for small businesses and freelancers — invoices, expenses, and reporting without monthly fees or vendor lock-in.

View details
98
Repo Health
73
Technical
63
Dependency
Updated yesterday
TypeScript
89%
Other

anytype-ts

Knowledge Management · Note Taking · Collaboration

8,665

A local-first, end-to-end encrypted knowledge OS that lets you build notes, tasks, wikis, and entire apps — with your data stored offline and synced peer-to-peer.

View details
88
Repo Health
78
Technical
67
Dependency
Built with
TypeScript89%
Updated yesterday
TypeScript
92%
GPL 3.0

Blinko

Knowledge Management · Note Taking

10,880

A self-hosted, AI-powered card note-taking tool that lets you capture fleeting thoughts instantly and retrieve them with natural language search.

View details
83
Repo Health
69
Technical
65
Dependency
Built with
TypeScript92%
Updated 2 weeks ago
Go
39%
MIT

ezBookkeeping

Invoicing Finance

5,424

Lightweight self-hosted personal finance manager with AI receipt scanning, multi-currency support, and MCP integration for complete data privacy.

View details
88
Repo Health
80
Technical
75
Dependency
Built with
Go39%
Vue33%
TypeScript25%
Updated yesterday
Scala
63%
AGPL 3.0

lila (Lichess)

Community

18,642

The forever-free, ad-free, open-source chess server powering millions of real-time games, AI analysis, puzzles, and tournaments worldwide.

View details
89
Repo Health
80
Technical
78
Dependency
Built with
Scala63%
TypeScript26%
Updated today
Python
61%
Apache 2.0

marimo

Developer Tools · Data Engineering

22,393

A reactive Python notebook that eliminates hidden state, runs reproducibly, and deploys as a web app or script — stored as pure Python, built for the AI era.

View details
90
Repo Health
91
Technical
66
Dependency
Built with
Python61%
TypeScript37%
Updated today
TypeScript
97%
MIT

Promptfoo

AI Development

24,362

An open-source CLI and library for evaluating and red-teaming LLM applications — replace trial-and-error prompt engineering with systematic evals, vulnerability scanning, and CI/CD integration.

View details
90
Repo Health
73
Technical
68
Dependency
Built with
TypeScript97%
Updated yesterday
TypeScript
97%
Other

Rocket.Chat

Team Chat

46,002

The secure, self-hosted team communications platform for organizations that cannot compromise on data sovereignty.

View details
96
Repo Health
79
Technical
69
Dependency
Built with
TypeScript97%
Updated today
TypeScript
71%
Apache 2.0

Supabase

Developer Tools · Databases · Search

108,148

The open-source Postgres development platform that replaces Firebase with authentication, real-time APIs, edge functions, storage, and vector embeddings — all built on PostgreSQL.

View details
90
Repo Health
91
Technical
66
Dependency
Built with
TypeScript71%
MDX26%
Updated today

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers

Search