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/Pixel Transition

Pixel Transition

A pixel-dissolve page transition that breaks route changes into a crisp digital grid reveal.

GSAP next-transition-router
DemoDemoDemo

Tune the Real Props

Pixel Color

Color used to draw each transition pixel.

Overview

Pixel Transition turns the cut between routes into a designed moment: pixels dissolve the old page into the new one.

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 risk in production 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 PixelTransition from "@/components/effects/pixel-transition";2 3export default function RootLayout({ children }) {4  return (5    <html lang="en">6      <body>7        <PixelTransition>{children}</PixelTransition>8      </body>9    </html>10  );11}

Example Production Use Case

An indie game studio can use Pixel Transition between its homepage, game pages, and press kit. On each route change, a grid of pixels fills the screen in a diagonal sweep and then clears to show the next page, echoing the low-resolution look of the studio's games.

The outcome is tone. The site feels like part of the game world from the first click, and a short duration keeps the transition from holding back visitors on their way to the trailer or press kit.


Best Used For

  • Technical, game-like, or retro-digital brands where the route change can dissolve into pixels.
  • Launch pages where a pixel cue supports tone while App Router focus stays predictable.
  • Pixel 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 Pixel 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
colsnumber30Pixel grid columns.
rowsnumber40Pixel grid rows.
pixelColorstring#111111Color used to draw each transition pixel.
durationnumber1Duration multiplier for the leave and enter pixel sweeps.
enableContentShiftbooleanfalseAdds content scale/blur during the transition.

Questions, Answered.

When should I use Pixel Transition?

Use it when a technical, game-like, or retro-digital brand needs pixels dissolving one page into the next without delaying navigation.

Where should Pixel Transition mount in the App Router?

Mount it in your root layout around {children}, as in the usage code. Pixel 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 Pixel Transition last?

By default the pixel grid fills over 1.0s on leave and clears over 0.8s on enter, about 1.8s in total. The duration prop is a multiplier (default 1, clamped 0.25 to 3), so lower it for a faster cut.

How should focus work after Pixel Transition?

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

What is the reduced-motion fallback for Pixel Transition?

With reduced motion enabled, the component skips the pixel grid and fades the page out and back in over 0.2s each.

Can Hyperiux adapt Pixel Transition for a real brand system?

Yes. A custom version should define motion rules, visual treatment, performance budget, fallback behavior, source handoff, and implementation notes for the specific page or launch context.

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

Page Flip Transition
Pro
GSAPnext-transition-router

Page Flip Transition

Transitions

Radial Slice Transition
Pro
GSAPnext-transition-router

Radial Slice Transition

Transitions