MCPcopy
hub / github.com/nolimits4web/swiper

github.com/nolimits4web/swiper @v14.0.1 sqlite

repository ↗ · DeepWiki ↗ · release v14.0.1 ↗
860 symbols 2,130 edges 174 files 79 documented · 9%
README

Get Started | Documentation | Demos

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.

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 calculations. 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 versions. To open demo, run:

  • Core: npm run core
  • React: npm run react
  • Vue: npm run vue

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

Sponsors

PunchngNGR Norway Casinos Online Mexico Kasino Ilman Rekisteröintiä Evernomic สล็อต Kasino Kurko: Uudet nettikasinot Uudet Nettikasinot VanguardNGR France Casinos Sin Licencia En España Skilled Writers for In-Depth Academic Papers Masterpapers - Qualified writers delivering excellence in every word! Best Online Casinos Canada
Grademiners - Professional writers, original content, quality you can trust! České Online Casino: Hrajte Bezpečně a Výhodně v 2024 SS Market: Social Media Services Market Nettikasinot 2022 | Löydä Luotettava & Turvallinen Nettikasino! CasinoGam Non-GamStop Casinos Directory Online sports betting and casino at Parimatch India Non-GamStop Casinos UK Reviews Casino Wise Non-GamStop Casino Guides Best Online Casinos in Canada EzBux - Earn Free Robux Podsuite WriteHybrid AI Humanizer
Transcribe Youtube 2048 Love You Time Now Top Casino Nederland Superluxuryreps Socibly Buy Spotify Plays & Followers KolayEscort

Extension points exported contracts — how you extend this code

MousewheelMethods (Interface)
(no doc) [1 implementers]
src/modules/mousewheel/mousewheel.ts
ModuleInstanceLike (Interface)
(no doc) [1 implementers]
src/components-shared/update-swiper.ts
SlideData (Interface)
(no doc)
src/swiper-react.d.ts
SwiperSlideLoopElement (Interface)
(no doc)
src/swiper-element.ts
SwiperContainerEventMap (Interface)
(no doc)
src/swiper-element.d.ts
SwiperSlideData (Interface)
(no doc)
src/react/context.ts
CSSSelector (Interface)
(no doc)
src/types/shared.ts
OnceHandler (Interface)
(no doc)
src/core/events-emitter.ts

Core symbols most depended-on inside this repo

on
called by 82
src/core/events-emitter.ts
isHorizontal
called by 67
src/core/core.ts
emit
called by 60
src/core/core.ts
slideTo
called by 60
src/core/core.ts
add
called by 56
scripts/build.js
emit
called by 41
src/core/events-emitter.ts
minTranslate
called by 41
src/core/core.ts
makeElementsArray
called by 36
src/shared/utils.ts

Shape

Function 466
Interface 240
Method 142
Class 12

Languages

TypeScript100%

Modules by API surface

src/core/core.ts80 symbols
src/modules/zoom/zoom.ts41 symbols
src/modules/a11y/a11y.ts36 symbols
src/modules/autoplay/autoplay.ts30 symbols
src/shared/utils.ts29 symbols
src/modules/scrollbar/scrollbar.ts29 symbols
src/swiper-element.ts28 symbols
src/modules/virtual/virtual.ts26 symbols
src/modules/pagination/pagination.ts26 symbols
src/modules/navigation/navigation.ts24 symbols
src/modules/controller/controller.ts24 symbols
src/modules/thumbs/thumbs.ts23 symbols

Dependencies from manifests, versioned

@rollup/plugin-node-resolve16.0.3 · 1×
@rollup/plugin-replace6.0.3 · 1×
@rollup/plugin-typescript12.3.0 · 1×
@types/node25.9.1 · 1×
@types/react19.2.15 · 1×
@vitejs/plugin-vue4.4.0 · 1×
autoprefixer10.4.21 · 1×
chalk5.3.0 · 1×
clean-css5.3.3 · 1×
concurrently8.2.2 · 1×
conventional-changelog-cli2.2.2 · 1×
cross-env7.0.3 · 1×

For agents

$ claude mcp add swiper \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact