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

Aperture Transition

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.

GSAPnext-transition-router
DemoDemoDemo

Tune the Real Props

Overview

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.


Usage Code

layout
1import ApertureTransition from "@/components/effects/aperture-transition";2import React from "react";3 4export default function layout({ children }: { children: React.ReactNode }) {5  return (6    <ApertureTransition>7      {children}8    </ApertureTransition>9  );10}

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 scale-and-wipe 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

Initial release

API Reference

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.

Questions, Answered.

When should I use Aperture Transition?

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

Is Aperture Transition the same as a radial wipe?

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.

How long should Aperture Transition last?

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.

Where should Aperture Transition mount in the App Router?

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.

What should reduced motion do for Aperture Transition?

With reduced motion enabled, the component skips the scale and clip wipe and runs a 0.2s opacity fade instead.

Can Hyperiux adapt Aperture Transition for a real brand system?

Yes. A custom version should define aperture shape, origin, timing, route integration, focus restoration, mobile fallback, reduced-motion behavior, source handoff, and implementation notes.

Request a Custom Animation

Need a custom effect? Tell us what to create.

Related Effects

Explore All EffectsExplore All EffectsExplore All Effects
Ascend Transition
Pro
GSAPnext-transition-router

Ascend Transition

Transitions

Block Transition
GSAPnext-transition-router

Block Transition

Transitions

Page Flip Transition
Pro
GSAPnext-transition-router

Page Flip Transition

Transitions

Depth Shift Transition
Pro
GSAPnext-transition-router

Depth Shift Transition

Transitions