Scroll reveal

From nexu-io/motion-anything · View interactive version

Scroll reveal is an AI agent skill from the GitHub repository nexu-io/motion-anything. Reveal content as it scrolls into view — a gentle rise + fade, once per element. Use to give a long page calm rhythm. Honors prefers-reduced-motion and supports staggering. Do not delay above-the-fold content, and keep at most a few elements animating at once.

How to use this skill

Skill file

scroll-reveal

A gentle rise + fade as elements scroll into view. Part of

motion-anything; obeys MOTION-SPEC.md.

When to use it

When NOT to use it (restraint)

How to apply

  1. Copy scroll-reveal.css and scroll-reveal.js into the project, and link them.
  2. Mark elements:

```html

<section data-reveal>…</section>

<li data-reveal data-reveal-delay="80">…</li> <!-- optional stagger, ms -->

```

  1. An IntersectionObserver adds .is-in once, when the element enters the viewport.

Accessibility & performance

Framework notes

IntersectionObserver) after mount.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.