SkillAgentSearch skills...

Swup

Versatile and extensible page transition library for server-rendered websites πŸŽ‰

Install / Use

/learn @swup/Swup
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<div align="center">

swup 4 is released Β πŸŽ‰Β  Check out the release notes andΒ upgradeΒ guide.

</div> <br> <p align="center"> <img width="280" alt="swup" src="https://swup.js.org/assets/images/swup-logo.svg"> </p> <div align="center">

npm version Bundle size npm downloads Test status License

</div> <br>

Swup

Versatile and extensible page transition library for server-rendered websites.

Features β€’ Demos β€’ Plugins β€’ Themes β€’ Documentation β€’ Discussions

Overview

Swup adds page transitions to server-rendered websites. It manages the complete page load lifecycle and smoothly animates between the current and next page. In addition, it offers many other quality-of-life improvements like caching, smart preloading, native browser history and enhanced accessibility.

Make your site feel like a snappy single-page app β€” without any of the complexity.

Features

  • ✏️ Works out of the box with minimal markup
  • ✨ Auto-detects CSS transitions & animations for perfect timing
  • πŸ”— Updates URLs and preserves native browser history
  • πŸ“ Manages the scroll position between pages and anchor links
  • πŸš€ Uses a cache to speed up subsequent page loads
  • πŸ“‘ Offers hooks to customize and extend the page load lifecycle
  • πŸ”Œ Has a powerful plugin system and many official and third-party plugins
  • 🎨 Provides ready-to-go themes to get started quickly

Demos

Explore our interactive demos to see swup in action.

Documentation

Visit our official documentation to learn more.

Plugins

Swup is small by design. Extended features can be added via plugins:

Check out the list of official and third-party plugins.

Themes

Get started quickly with one of three official themes: fade, slide, and overlay.

Examples

<img src="https://user-images.githubusercontent.com/9338324/49190360-50125480-f372-11e8-89e9-d2fb091a2240.gif" width="100%">

Take a look at the interactive demos and sites using swup for more examples.

Having trouble?

If you're having trouble implementing swup, check out the Common Issues section of the docs, look at closed issues or create a new discussion.

Want to Contribute?

We're looking for maintainers! Β  πŸ‘€

Become a sponsor on Open Collective or support development through GitHub sponsors.

This project is tested with BrowserStack.

Related Skills

View on GitHub
GitHub Stars5.1k
CategoryDevelopment
Updated13h ago
Forks202

Languages

TypeScript

Security Score

100/100

Audited on Mar 29, 2026

No findings