Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

swup

Package Overview
Dependencies
Maintainers
1
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swup

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

  • 4.0.0-rc.14
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3.4K
decreased by-68.05%
Maintainers
1
Weekly downloads
 
Created
Source

swup

npm version Bundle size License npm downloads Test status


Swup

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

FeaturesDocumentationPluginsThemesDiscussions

Overview

Swup adds page transitions to server-side rendered websites. It manages the complete lifecycle of a page visit by intercepting link clicks, loading the new page in the background and smoothly transitioning between the old and new content.

Its goal is to make it effortless to add page transitions to a site, while providing lots of other quality-of-life improvements.

Features

  • ✏️ Works out of the box with minimal markup
  • ✨ Auto-detects CSS transitions for perfect timing
  • 🔗 Updates URLs and preserves native browser history
  • 🏓 Manages scroll position between pages and anchor jump 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

Plugins

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

Check out the list of all official plugins as well as third-party integrations.

Examples

Take a look at 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.

Keywords

FAQs

Package last updated on 03 Jul 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc