Animations

Image Trail

Images pop in along the cursor path and fade away. Stays inside its box unless fullPage is set; touch screens get the plain content.
import { ImageTrail } from "pleate/effects/image-trail";

Trail

Move the pointer across the box.

Move the pointer across

Props

images

Image URLs, used in turn.

string[]

threshold

Pointer travel between two images (px).

numberdefault 80

size

Image width (px).

numberdefault 160

duration

Lifetime of one image (ms).

numberdefault 900

fullPage

Follow the pointer over the whole page.

booleandefault false

Accessibility

  • Trail images are decorative (empty alt, aria-hidden layer).
  • Off for touch and reduced motion; the system cursor stays.