What the Frontend? Open the interactive gallery →
Page & Layout

Page transition

An animated transition between two pages — covering, wiping, fading, or morphing from route to route.

What you're seeing

Instead of an instant page swap, a curtain falls or a shape expands to cover the screen.

Where you'll see it

Any multi-page site. Essential for agency sites and portfolios.

Difficulty

Medium — 3/5

Libraries that build it

Barba.jsGSAPFramer Motion

From the toolbox

MotionSprings, layout animations, and exit transitions as React primitives — the fastest path from static to alive.→CodropsTwo decades of effect tutorials with live demos — where half of these techniques were being taken apart before anyone named them.→

Ready to prompt — paste this into your AI coding tool

"Use Barba.js for SPA-style page transitions — on leave, animate overlay to cover viewport; on enter, reveal new page"

Seen in the wild

Heron AIA concept site for an AI copilot for architects, art-directed as a living sheet of drafting paper — pen-and-ink Brutalist buildings ink themselves in stroke by stroke as you scroll, tick-mark rulers and crosshair registration marks frame every edge, and a fully dimensioned floor plan pins to the screen so you can click the orange markers to read the exact IBC building-code violation flagged at each one.→Salesforce's AI Trust MapEnterprise AI guardrails explained as an illustrated space map — a rocket preloader drops you into a hand-drawn galaxy where five risk zones open as spaceship-cockpit consoles.→

Related Page & Layout effects

Smooth scrollGrid revealStaggered card entranceFLIP transitionClip-path revealModal entrance
See the animated preview in the dictionary →