Swiper
Mobile touch slider framework with hardware acceleration for carousel components.
UI components and icons npm MIT
Used in agent projects
113
0.9% of 12,697 public repos built with AI coding agents
Rank in ui components and icons
#24 of 75
by use in those projects
Downloads
4.2M
npm, last 7 days, swiper
GitHub stars
41.9K
last push Oct 6, 2026
How Swiper is used
Swiper is a dependency in 113 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.9%), #24 of 75 in ui components and icons. The most used alternative there is Lucide React. Projects that use it most often also use Framer Motion (63.7%), Tailwind CSS (79.6%), React (88.5%).
Often used with Swiper
| Framer Motion | 63.7% of Swiper projects · 4.8× more than average |
|---|---|
| Tailwind CSS | 79.6% of Swiper projects · 2.3× more than average |
| React | 88.5% of Swiper projects · 2.0× more than average |
| React Icons | 42.5% of Swiper projects · 7.8× more than average |
| Next.js | 61.1% of Swiper projects · 2.7× more than average |
| ESLint | 75.2% of Swiper projects · 2.0× more than average |
| Lucide React | 54.0% of Swiper projects · 2.7× more than average |
| Tailwind Merge | 48.7% of Swiper projects · 2.9× more than average |
By coding agent
| Claude Code | 0.7% of projects set up for it |
|---|---|
| Cursor | 0.8% of projects set up for it |
| GitHub Copilot | 0.7% of projects set up for it |
Share of public repos configured for each agent that list Swiper as a dependency.
Install
| Package | npm install swiper |
|---|---|
| Main stacks | Next.js (66), TypeScript / JavaScript (40), PHP (6), Python (1) |
| Example projects | Automattic/wp-calypso, berta-cms/berta, cryptopayserver00/cryptopayserver, StreamFi-x/streamfi-frontend, JesusFilm/core |
Alternatives to Swiper
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Lucide React npm Comprehensive icon library with consistent design for React applications. |
2,519 (19.8%) | 108M | 24.9K | ISC |
| Class Variance Authority npm Type-safe CSS class composition for component variants and styling. |
1,791 (14.1%) | 66.3M | 6,903 | Apache-2.0 |
| Radix UI npm Unstyled, accessible component primitives for building design systems. |
1,519 (12.0%) | 182M | 19.4K | MIT |
| Sonner npm Opinionated toast notification component for React applications. |
1,025 (8.1%) | 49.6M | 13K | MIT |
| React Icons npm Popular icon packs imported as React components with ES6. |
688 (5.4%) | 8.8M | 12.7K | MIT |
| cmdk npm Command menu component library for React applications. |
687 (5.4%) | 42.2M | 13K | MIT |
| React Day Picker npm Flexible and customizable date picker component for React. |
675 (5.3%) | 42.8M | 6,859 | MIT |
| Vaul npm Unstyled, accessible drawer component for React with smooth animations. |
582 (4.6%) | 35M | 8,638 | MIT |