cue

data-cue-scroll

Scroll

Movement tied to scrolling, run by the browser itself with no scroll listeners. Browsers without scroll-driven animations show them still.

Parallax

Drifts against the page as you scroll, by its depth. Positive depths sit further back and move slower, negative ones come forward. It moves with the translate property, so it combines with an entrance. Off with reduced motion.

depth 0.6
depth -0.4
<img data-cue-scroll="parallax" data-cue-depth="0.3" src="…" alt="…">

Progress

Fills from the left as you scroll, for a reading bar. Along the whole page, or along the element marked data-cue-track that it sits in. It follows your own scrolling, so it stays with reduced motion.

Scroll this card through the window, and the bar fills while it's in full view.

<div class="reading-bar" data-cue-scroll="progress"></div>