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 transitionsSoft Fade Transition
Corner Swing TransitionBrowse all 182Navbar Dock Loader
  • 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

Soft Fade 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

  • Reveal
  • Stagger
  • Split text

Features.

  • The next page fades in over the old one, which holds still underneath
  • The new title lifts in letter by letter, starting 40% into the fade
  • Click another page mid-fade and it follows straight after; the newest click wins
  • The nav sits above every page, never fades and stays clickable
  • Focus moves to the new page when a nav link had it
  • window.au.CrossFade.go(el, "page-2") runs the transition from your own code
  • Respects prefers-reduced-motion: pages swap instantly

How to get it right.

Give every page a solid background

The old page stays visible under the new one until the fade ends. A page without a background lets the old one show through.

Keep the nav outside the pages

The nav bar is a sibling of the pages, so it never fades. Put anything else that should hold still (a logo, a header) next to it, with a z-index above 2.

One title per page

The script lifts the element marked data-crf-title. Leave it out on a page and that page just fades.

Variations.

  • Slower fade — data-au-duration="1"
  • Title with the fade — data-au-title-at="0"; 1 holds it until the fade is done
  • Slower ripple through the letters — data-au-stagger="0.05"; 0 lifts them together
  • More pages — add a <main data-crf-page="page-4" hidden> and a link with data-crf-link="page-4"
  • Your palette — override --crf-one, --crf-two, --crf-three and their -ink partners on the root
  • Extra content — anything inside a page fades with it; only the title has its own motion

Where it fits.

  • Portfolios — case study to case study
  • Small sites — a handful of pages kept in one document
  • Product tours — full-screen steps
  • 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.CrossFade.go(el, name).

The fade in flight finishes, then the last page you asked for fades in. Clicks in between are skipped.

Yes. Each <main> is an ordinary full-screen container; put anything in it.

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