
swup
JavaScript library that adds page transitions and page-load handling to server-rendered websites.
swup.js.orgrepositorydocsplugins
swup is a page transition library for server-rendered websites. It intercepts link clicks, loads the next page in the background and animates between the old and new content, replacing only the content containers that are configured.
A site loads it through a bundler, or through a script tag from a CDN when it has no bundler. Extra behavior comes from plugins that the project lists in its plugin directory.
Identity
Rendering and deploy
- Runs as
- In the browser8
- Install with
- npm, script tag9
Releases
Adoption
Sources
- 2026-11-16: links, Categories
swup.js.org - 2026-11-16: links, Written in, License, GitHub stars
api.github.com/repos/swup/swup - 2026-11-16: links
github.com/swup/swup/blob/main/README.md - 2026-11-16: Maintainer
github.com/swup/swup/blob/main/LICENSE - 2026-11-16: First release
registry.npmjs.org/swup - 2026-11-16: Current major version
registry.npmjs.org/swup/latest - 2026-11-16: Last release
api.github.com/repos/swup/swup/releases - 2026-11-16: Runs as
swup.js.org/integrations/astro/ - 2026-11-16: Install with
swup.js.org/getting-started/installation/ - 2026-11-16: npm downloads a week
api.npmjs.org/downloads/range/2026-11-01:2026-11-07/swup - 2026-11-16: Contributors
api.github.com/repos/swup/swup/contributors - 2026-11-16: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/swup