
Ascend Transition
Transitions
A lens-style page transition that shrinks the current route into frame and wipes the next one open from the edge for photography, portfolio, film, and visual brand sites.
Aperture Transition turns a route change into a lens-like close and open: the current page shrinks into frame and the next one wipes in from the edge.
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 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 for reduced-motion users the component swaps it for a 0.2s fade.
import ApertureTransition from "@/components/effects/aperture-transition";import React from "react"; export default function layout({ children }: { children: React.ReactNode }) { return ( <ApertureTransition> {children} </ApertureTransition> );}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.
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.
Keep duration short, animate masks or transforms with restraint, avoid artificial route delays, and do not block interactivity once the destination is ready.
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.
| Prop | Type | Default | Description |
|---|---|---|---|
scale | number | 0.82 | Amount the whole screen shrinks toward its center during the leave phase. |
duration | number | 0.6 | Duration of the leave shrink and reveal/expand phases. |
revealDirection | string | bottom | Edge the incoming page's aperture reveal expands from. |
Use it when a portfolio, campaign, film, photography, or brand site benefits from a lens-style route reveal.
No. Aperture Transition scales the current page down and wipes the next one in with a straight-edged clip from one side (bottom by default, set with revealDirection), rather than a circular or radial mask.
By default it runs a 0.6s shrink on leave, then a 0.6s clip reveal and a 0.6s expand that overlap slightly on enter, about 1.6s in total. The duration prop (default 0.6) scales every phase, so lower it for routine navigation.
Mount it in your root layout around {children}, as in the usage code. Aperture Transition renders TransitionRouter from next-transition-router itself, so it stays mounted across navigations and no separate provider or template is needed.
With reduced motion enabled, the component skips the scale and clip wipe and runs a 0.2s opacity fade instead.
Yes. A custom version should define aperture shape, origin, timing, route integration, focus restoration, mobile fallback, reduced-motion behavior, source handoff, and implementation notes.
Need a custom effect? Tell us what to create.