Back to components
ComponentEffectFree

Photo Trail Cursor React component

An area where moving the pointer deals out photos along its path: each one pops in turned the way you were travelling, holds for a moment on top of the last, then sinks and fades, cycling through your set.

About the Photo Trail Cursor component

Photo Trail Cursor lets visitors browse a set of photos just by moving around. Every so often along the pointer's path a photo pops in, tilted the way you were heading, lands on top of the one before, holds for a moment and then sinks and fades away, so a quick sweep deals out a whole fan of images.

It cycles through your images in order, reuses a small pool of elements so it stays light, and preloads the set so the first pass isn't blank.

When to use it

Use it for photographers', illustrators' and studios' hero sections, archive or 'about' pages, event recaps and anywhere a sense of 'lots of work' matters more than any single image.

It's a hover effect, so pair it with a proper gallery or grid elsewhere for touch users and anyone who wants to look closely.

Installation

Add the Photo Trail Cursor component to your project with the shadcn CLI. It lands in components/photo-trail-cursor.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/photo-trail-cursor

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install clsx tailwind-merge

More Effect components

Pixel Dissolve Transition
Free
Fluid Ink Cursor
Free
Edge Fade Blur
Free
Target Lock Cursor
Free
Peel-off Sticker
Free
Orbiting Border Glow
Free