Platform
VaultVault
  • Free15
  • Navigation19
  • Buttons9
  • Scroll55
  • Text27
  • Sliders & marquees19
  • Gallery & images67
  • Cursor24
  • Page transitions10
  • Loaders2
  • Backgrounds10
  • UI components33
ButtonsPart of ProButtons
IconsPart of ProIcons
  • Interface Essentials144
  • Social Icons69
  • Payment Badges41
SavedPart of ProSaved
Support
DocumentationDocumentation
MCP serverMCP server
SettingsSettings
VaultPage transitionsSide Wipe Transition
Image Flash TransitionBrowse all 182Image Slide Tabs
  • Free15
  • Navigation19
  • Buttons9
  • Scroll55
  • Text27
  • Sliders & marquees19
  • Gallery & images67
  • Cursor24
  • Page transitions10
  • Loaders2
  • Backgrounds10
  • UI components33
  • Interface Essentials144
  • Social Icons69
  • Payment Badges41
Sign inSign in

Start free. The code for 15 components, no card needed.

Get 15 free

Side Wipe Transition

This one is locked. Become a member to open the code for it and the rest of the Vault.

See plansTry the 15 free ones

What you'll need.

Install

  • gsap
  • CustomEase
  • SplitText

Setup

npm i gsapregisterPlugin(CustomEase, SplitText)

More like this

  • Wipe
  • Stagger
  • Split text

Features.

  • A sheet slides in from the left and pushes the old page aside
  • The pages swap while the sheet covers the screen
  • The sheet carries on out to the right with the next page close behind it
  • The new title lifts in letter by letter as the page lands
  • Change your mind while the sheet is coming in and the newest click wins
  • The nav sits above everything, never moves and stays clickable
  • window.au.SideWipe.go(el, "page-2") runs the transition from your own code
  • Respects prefers-reduced-motion: pages swap instantly

How to get it right.

Keep the sheet after the pages

The sheet sits between the pages and the nav. Leave it as one element with data-swi-sheet, after the last page.

Pick a gap colour on purpose

The new page trails the sheet by a moment, so a sliver of the root shows between them. That is --swi-gap. Set it close to --swi-sheet for a soft edge, or apart for a visible stripe.

Swap the mark for your own

The square on the sheet is a placeholder. Replace the SVG with your logo; it takes --swi-mark through currentColor.

Variations.

  • Slower wipe — data-au-duration="1"
  • Old page holds still — data-au-push="0"
  • Wipe the other way — data-au-direction="left", or "down" / "up" for a vertical wipe
  • A different feel — data-au-ease="snappy", "soft" or "linear"
  • More curves — data-au-ease also takes expo-out, expo-in-out, windup, drive, kick. windup pulls back first
  • Wider gap behind the sheet — data-au-lag="0.2"; 0 keeps the new page tight against it
  • Plain sheet — delete the SVG inside the sheet
  • More pages — add a <main data-swi-page="page-4" hidden> and a link with data-swi-link="page-4"
  • Your palette — override --swi-sheet, --swi-gap, --swi-one, --swi-two, --swi-three and their -ink partners on the root

Where it fits.

  • Portfolios — case study to case study
  • Small sites — a handful of pages kept in one document
  • Brand sites — the sheet is a moment for the logo
  • Router transitions — call go() from your router's hook

Frequently asked.

No. The pages live in one document and the script shows and hides them. For a router, render the pages into the root and call window.au.SideWipe.go(el, name).

While the sheet is coming in, the last page you click is the one that shows. Once the new page is sliding in, a click on another page runs one more wipe straight after.

Not from an option. The directions are set in cover() and reveal() in the script; flip the signs on the three xPercent values that are not 0.

So each letter can rise through a mask. The split is undone once a page is hidden.

Related components.

NewPro

Bell Wipe Transition

Click

Pro

Card Expand Transition

Click

Pro

Card Shrink Transition

Click