PRO

Cursor Image Trail

A hero that spawns a trail of images behind a fast pointer. Once the cursor travels far enough inside the frame, an image is dropped at the interpolated position and slides to the live one, revealed by ten horizontal mask layers that clip open from the center out, then collapse and fade as each image ages out. Desktop only, no dependencies.

Component

[ The Future Moves in Frames ]

Experiment 457 by BLANK

Install
npx shadcn@latest add https://ui.aryank.space/r/cursor-image-trail.json

Installs from ui.aryank.space. To add it by hand, copy the files in Usage below, or register the @compronents namespace via the docs.

Files

API
PropTypeDefaultDescription
imagesstring[]Twenty BLANK-hosted framesFrames cycled into the pointer trail.
heroImage / captionTop / captionBottomstring / string / stringBLANK-hosted backdrop and captionsDimmed backdrop and the two centered captions.
Customize
imagesasset-url

The pool of frames cycled through the trail.

heroImageasset-url

Dimmed backdrop behind the trail.

captionTop / captionBottomtext

The two centered hero captions.

Dependencies
None.