Loading
Loading
Loading
mobile footer

Build the Interaction Layer Your Website is Missing.

Browse All EffectsBrowse All EffectsBrowse All EffectsUpgrade to ProUpgrade to ProUpgrade to Pro

70+ effects free, forever. No credit card.

© 2026 Hyperiux. All Rights Reserved.

AI Component CatalogueHey AI, Learn About Us
Platform

Vault

  • Documentation
  • Pricing
  • Blog
  • Community
  • NPM
  • MCP

Categories

  • All Effects
  • WebGL
  • Text
  • Backgrounds
  • Buttons
  • Carousels
  • Scroll
  • Components
  • Navigation
  • Cursor
  • Transitions
  • Loaders

Documents

  • Introduction
  • Installation
  • CLI
  • Dependencies
  • License

Legal

  • License Agreement
  • Terms of Service
  • Privacy Policy
  • Refund Policy
Socials
  • Twitter / X
  • LinkedIn
  • GitHub
  • Instagram
Contact Us
  • hello@hyperiux.com
New effects, in your inbox

Every new drop, plus the occasional behind-the-scenes build. No spam. Unsubscribe anytime.

All Effects
Featured ComponentsText AnimationsAnimated BackgroundsAnimated ButtonsCarousel EffectsScroll EffectsCreative ComponentsNavigationsCursor EffectsTransitionsLoadersWebGL & 3D Effects
Templates
IntroductionInstallationCLIDependenciesLicense
PricingBlogGithubNPMMCP Doc
Loading
Home/effects/Page Flip Transition

Page Flip Transition

An editorial page transition that uses a page-turn metaphor for portfolios, stories, and brand-led navigation.

GSAPnext-transition-router
DemoDemoDemo

Tune the Real Props

Bg Color

Overlay background color.

Loader Color

Color of the loading blocks shown during the flip.

Overview

Page Flip Transition turns the cut between routes into a designed moment: the route change borrows a page metaphor.

Use it on brand sites, campaign pages, portfolios, and editorial journeys where route changes benefit from continuity. Avoid it in apps, docs, checkout, and search paths where navigation speed is the feature.

The main risk is delay. Mount the transition where route state actually changes, keep the duration short, restore focus after navigation, and give reduced-motion users an instant or nearly instant path.


(Next.js App Router only. Requires next-transition-router for route-transition lifecycle hooks and renders its TransitionRouter itself, so no separate provider is needed. This effect will not function in plain React or in the Next.js Pages Router.)

Usage Code

layout
1import FlipTransition from "@/components/effects/page-flip-transition";2 3export default function RootLayout({ children }) {4  return (5    <html lang="en">6      <body>7        <FlipTransition>{children}</FlipTransition>8      </body>9    </html>10  );11}

Example Production Use Case

An online magazine can use Page Flip Transition between an issue's cover and the feature stories inside it. When a reader opens a story, the current page turns away on a corner pivot and the next one turns in, reinforcing the feeling of moving through a printed issue.

The outcome is continuity. The transition is kept for low-frequency moments, such as entering an issue or a long read, while search, archives, and subscription checkout keep instant navigation.


Best Used For

  • Editorial and portfolio sites where a page metaphor fits the content model.
  • Low-frequency navigation moments where the flip supports continuity instead of delaying tasks.
  • Page Flip Transition turns route change into a brief brand moment without delaying orientation.

Not For

Not for apps, docs, checkout, search, or frequently navigated product flows where delay harms completion.


Performance Budget

Keep duration short, avoid artificial route delays, and do not block interactivity after the destination route is ready.


Accessibility and Mobile

Move focus to the destination main region after navigation. On mobile and reduced motion, use instant transitions or short fades.


Common Mistakes

  • Using Page Flip Transition as fake loading delay.
  • Forgetting focus restoration after navigation.
  • Running full-screen motion for reduced-motion users.

Changelog

Added reduced-motion route fallback with short opacity fades.
Initial release

API Reference

PropTypeDefaultDescription
durationnumber0.9Page flip duration.
bgColorstring#ff5f00Overlay background color.
loaderColorstring#000000Color of the loading blocks shown during the flip.
direction"left-to-right" | "right-to-left"left-to-rightDirection the page flips across the screen.

Questions, Answered.

When should I use Page Flip Transition?

Use it when an editorial or portfolio route change suits a page-flip metaphor without delaying navigation.

Where should Page Flip Transition mount in the App Router?

Mount it in your root layout around {children}, as in the usage code. Page Flip Transition renders TransitionRouter from next-transition-router itself, so it stays mounted across navigations and no separate provider or template is needed.

How long should Page Flip Transition last?

By default the page flips over 0.9s on leave and again on enter, with the loader bars adding a short staggered beat in between, about 2.3s in total. The duration prop (default 0.9) sets the flip time; the loader bars and content fades keep fixed timings.

How should focus work after Page Flip Transition?

Move focus to the destination main region or heading after navigation completes.

What is the reduced-motion fallback for Page Flip Transition?

With reduced motion enabled, the component skips the flip and loader bars and fades the page out and back in over 0.25s each.

Request a Custom Animation

Need a custom effect? Tell us what to create.

Related Effects

Explore All EffectsExplore All EffectsExplore All Effects
Block Transition
GSAPnext-transition-router

Block Transition

Transitions

Chess Grid Transition
GSAPnext-transition-router

Chess Grid Transition

Transitions

Radial Slice Transition
Pro
GSAPnext-transition-router

Radial Slice Transition

Transitions

Pixel Transition
Pro
GSAP next-transition-router

Pixel Transition

Transitions