Built for Motion
Log in

Arcing Drift Gallery Hero with a Colour-Cycling Wordmark

proOn LoadOn ScrollMouse MoveOn Hover
Loading preview

Overview

A pinned portfolio hero section for React and Next.js. Project cards drift across the stage on a loop and arc above and below a giant colour-cycling wordmark, swelling as they pass the middle; scrolling pushes the drift along, and the card under the cursor grows, names itself and dims the rest.

The section is one stage that stays pinned while the page scrolls past it. Eight project cards drift sideways on an endless loop; as each nears the middle it swells and swings up or down along an arc, alternately, so the stream parts around the wordmark instead of crossing it, and leans into the arc as it climbs. Scrolling feeds extra drift in through a soft spring, so a flick sends the whole gallery sliding.

Details

Category
Hero
Interaction
On Load + On Scroll + Mouse Move + On Hover
Trigger
On Load
Languages
React, TypeScript, plain CSS

(01)Keep exploring

All 150 components

Built with the same techniques

(02)FAQ

Arcing Drift Gallery Hero with a Colour-Cycling Wordmark — FAQ

01What does it need from my page?

Nothing to install beyond React. The styles are plain CSS scoped to .norell. Pass your fonts as --nr-display (a grotesk with a width axis, such as Archivo) and --nr-mono (such as JetBrains Mono), the way the example does with next/font.

02How do I change the projects?

Edit works in content.ts: title, year, kind, image, alt and link. Six to ten reads best. The drift, arc, zoom, hover growth and dimming are props on ArcDrift.

03How long does it pin?

The stage is pinned over five screens of scroll, which only feed the drift, then the page carries on to whatever section comes next. Change the height of .nr-hero in the CSS to make it shorter or longer.

04What happens on a phone?

The cards shrink and the stream keeps drifting, a swipe still scrolls and pushes it, the navigation folds into a full-screen menu, and the footer stacks on the left.

05What happens with reduced motion?

The cards hold still, the wordmark doesn't cycle, the grain stops and the preloader just clears. Hovering still names a card.