
Block Transition
Transitions
A full-screen transition that softens the current view, lifts a new state into place, and makes the change feel deliberate without turning it into a loading screen.
Sweep Lift moves a route change through a soft lifted sweep, turning a flat cut into a smooth visual handoff.
The current view fades, shrinks and drops back over a solid background while the destination sweeps up from the bottom into focus. The transition feels calmer than a hard wipe and lighter than a full-screen cinematic sequence. It works best when the brand wants a polished route change without making navigation feel heavy.
Use Sweep Lift for portfolios, agency websites, brand homepages, campaign pages, and editorial routes where the transition should feel soft, premium, and controlled. The page job is continuity: the visitor should feel the route change without waiting for the animation to finish showing off.
The production risk is fake softness. A transition can look elegant and still hurt the experience if it delays navigation, hides the ready destination, or leaves focus behind on the previous route. Sweep Lift should be short, tied to real route state, and replaced with instant navigation or a simple fade for reduced-motion users.
import React from 'react'import SweepLiftTransition from "@/components/effects/sweep-lift-transition"; export default function layout({ children }) { return ( <SweepLiftTransition> {children} </SweepLiftTransition> )}A brand studio can use Sweep Lift between portfolio and service routes to make the site feel calm and premium. The old page softens, the transition lifts into the next view, and the visitor lands on the destination content without losing orientation. The outcome is polish: navigation feels designed without becoming a loading screen.
Not for dashboards, docs, checkout, search, forms, or product flows where fast repeated navigation matters more than motion.
Not for routes where users bounce between pages frequently and would see the same sweep too often.
Keep duration short, animate transform and opacity, avoid layout reads during route change, and clean up listeners or timelines after completion. Use the sweep as a composited overlay, not as a layout-level interruption.
Move focus to the destination main region or heading after navigation. On mobile, reduce travel distance and avoid heavy full-screen motion. Reduced-motion users should get instant navigation or a short fade.
| Prop | Type | Default | Description |
|---|---|---|---|
bgColor | string | #111111 | Background color behind the transitioning pages. |
duration | number | 1.3 | Duration used by both the outgoing lift and incoming sweep reveal. |
Use Sweep Lift when a brand, portfolio, or campaign site needs a calm route transition with a soft sweep and lifted arrival.
A normal wipe often feels graphic and directional. Sweep Lift feels softer, using overlay movement and visual lift to create a smoother handoff.
The default duration is 1.3s, with the old page receding and the new page sweeping up at the same time. The duration prop sets it, so lower it for routine navigation.
Mount it in your root layout around {children}, as in the usage code. Sweep Lift 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 sweep and lift and fades the page out and back in over 0.2s each.
Yes. A custom version should define sweep direction, overlay treatment, timing, route integration, focus restoration, mobile fallback, reduced-motion behavior, source handoff, and implementation notes.
Need a custom effect? Tell us what to create.