Aperture Transition

An iris-style page transition that opens and closes routes through a focused aperture for photography, portfolio, film, and visual brand sites.

Published On: August 12, 2026
Last Updated: August 17, 2026
GSAPnext-transition-router
Aperture Transition

Overview

Aperture Transition turns a route change into an iris-style opening.

The page does not simply fade. It closes, focuses, and reveals the next view through a controlled aperture. The metaphor is direct: the visitor is being guided from one scene to another.

Use Aperture Transition when circular framing, camera language, lens movement, or reveal-based art direction belongs to the brand. It fits portfolios, photography-led sites, campaign pages, studio websites, film pages, product launches, and visual editorial routes. The page job is focus: the transition should frame the destination without delaying it.

The production risk is overstatement. Aperture motion can feel cinematic, but too much of it makes navigation feel slow. The mask should be brief, centered on orientation, and removed entirely for reduced-motion users.


(Next.js App Router only. Requires next-transition-router for route-transition lifecycle hooks and must be wrapped in its provider. This effect will not function in plain React or in the Next.js Pages Router.)

Install Command

This is a Pro Effect.

You can preview it now. Upgrade to Pro for instant install access.


Usage Code

This is a Pro Effect.

You can preview it now. Upgrade to Pro for instant install access.


Component Code

This is a Pro Effect.

You can preview it now. Upgrade to Pro for instant install access.


Example Production Use Case

A photography portfolio can use Aperture Transition between project routes. The current page closes like a lens, the next image-led page opens, and focus lands in the new content. The outcome is focus: navigation feels connected to the visual language of the site.


Best Used For

  • Photography, film, portfolio, and campaign sites where aperture or lens language fits the brand.
  • Visual route changes where a circular reveal feels more appropriate than a block, slice, or pixel transition.
  • Small route trees where the transition appears often enough to create identity but not so often that it becomes friction.

Not For

Not for apps, docs, checkout, search, dashboards, dense product flows, or pages where users need instant repeated navigation.

Not for brands where the aperture metaphor feels decorative rather than connected to the content.


Performance Budget

Keep duration short, animate masks or transforms with restraint, avoid artificial route delays, and do not block interactivity once the destination is ready.


Accessibility and Mobile

Move focus to the destination main region or heading after navigation. On mobile, simplify the aperture movement and avoid large full-screen motion that slows orientation. Reduced-motion users should get instant navigation or a brief fade.


Common Mistakes

  • Treating the aperture like a fake loading screen.
  • Making the mask too slow or too theatrical for routine navigation.
  • Forgetting focus restoration after the route changes.
  • Using aperture motion on every tiny interaction instead of true route changes.

Changelog

v1.0.0

Aug 6, 2026
Initial release

Props

PropTypeDefaultDescription
scalenumber0.82Amount the whole screen shrinks toward its center during the leave phase.
durationnumber0.6Duration of the leave shrink and reveal/expand phases.
revealDirectionstringbottomEdge the incoming page's aperture reveal expands from.

Frequently Asked Questions

When should I use Aperture Transition?

Use it when a portfolio, campaign, film, photography, or brand site benefits from an iris-style route reveal.

Request a Custom Page Transition Animation

Need a custom effect? Tell us what to create.