Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

Scroll word reveal effect

Reveals text word by word as visitors scroll, so headlines feel alive while links and screen readers still work.

What we improved

Added word-reveal.js, a dependency free splitter and scroll controller (createWordReveal, splitWords, wordProgress), and word-reveal.css, and brought the essential code into SKILL.md. The original described the method but left the working c

Improved by YourAISkill from the original by MengTo, under its MIT licence. The download includes the author's licence and a CHANGES.md listing every change. Both Claude reviews read the improved version.

Claude's review

8/10 Complete scroll word reveal with working JS and CSS that keeps links and emphasis semantic, handles inline-block traps, screen readers, reduced motion and teardown.

We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.

In detail

Reveal marked-up text word by word as scroll progress advances, while preserving semantic inline links, emphasis, responsive line wrapping, and reduced-motion readability. Use for headlines, quotes, manifestos, product statements, onboarding messages, or editorial passages where scrolling should pace comprehension rather than simulate typing.

How you use it

  1. Add it to your pack, then download your pack (1 credit).
  2. In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
  3. Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide

Safety check

Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: scroll-scrubbed-word-reveal
description: "Reveal marked-up text word by word as the reader scrolls (pinned with a sticky stage, or in normal flow), driven by one reversible progress value, while keeping inline links and emphasis semantic, line wrapping responsive, screen-reader output natural and reduced-motion users fully served. Includes a dependency-free splitter and controller (word-reveal.js), the matching CSS, a GSAP ScrollTrigger variant, teardown for single-page apps and a fixed demo. Use for headlines, quotes, manifestos, product statements, onboarding messages or editorial passages where scrolling should pace reading rather than imitate typing, and to fix reveals that break links, wrap badly, lose underlines, ignore transforms on inline spans, or read word by word in a screen reader."
---
<!-- Modified by YourAISkill (youraiskill.com) on 2 December 2026 from the original by MengTo. See CHANGES.md. -->

# Scroll-Scrubbed Word Reveal

Make reading progress visible without replacing real text, breaking inline markup, or depending on a fixed line count.

Files in this skill:
- `word-reveal.js`: the splitter and scroll controller below as an ES module (`createWordReveal`, `splitWords`, `wordProgress`). Copy it into the project.
- `word-reveal.css`: the word, pinning, reduced-motion and screen-reader rules.
- `demo/index.html`: a complete single-file example ("A Field Note on Attention") built on the same code. `demo/PROMPT.md` has prompts to recreate or remix it. `REFERENCES.md` lists documentation links.

## Prepare the text

1. Keep the real text in the DOM. Never rebuild the passage from `textContent` or `innerHTML`: that drops links, emphasis and listeners.
2. Walk text nodes with `TreeWalker` and replace each one with word spans plus the original whitespace nodes, exactly as they were.
3. Skip `script`, `style`, form controls, `svg` and anything marked `[data-no-split]`.
4. Split only at breakable whitespace. No-break spaces (`10 km`) stay inside one word, or the reveal creates line breaks the author ruled out.
5. Never split by line. Wrapping must stay free to change with width, language, zoom and font loading. Word spans do not need rebuilding on resize; re-split only when the text itself changes.

```html
<p class="reveal" data-reveal>
  Motion should <em>explain</em> the next state, not decorate it.
</p>
```

The core of the splitter (full version with restore in `word-reveal.js`):

```js
const SKIP = "script, style, noscript, template, textarea, select, option, button, svg, math, [data-no-split]";
const BREAKABLE = /([^\S   ]+)/; // whitespace except no-break spaces

const walker = document.createTreeWalker(root, NodeFilter.SHOW_TEXT, {
  acceptNode(node) {
    if (!node.nodeValue.trim()) return NodeFilter.FILTER_REJECT;
    const skipped = node.parentElement?.closest(SKIP);
    return skipped && root.contains(skipped) ? NodeFilter.FILTER_REJECT : NodeFilter.FILTER_ACCEPT;
...

From MengTo's repository, MIT licence.

Related skills

  • Checked

    Scroll controlled animations

    Builds Apple style scroll animations that play forward and back exactly, so your hero section stays smooth.

    by MengTo 8.8k
    8/101 credit
  • Checked

    Premium web motion design

    Plans and builds web animations from one motion style and three easing curves, so your site feels polished.

    by Yu-369 1k
    8/101 credit
  • Checked

    Rive animation for React

    Shows how to add Rive animations to web and React apps, so they load fast, respond to input and stay accessible.

    by TerminalSkills 221
    8/101 credit
  • Checked

    Unity Character Animation

    Wires up Unity Animator states, blend trees, layers and IK, and fixes laggy transitions and sliding feet.

    by gamedev-skills 13k
    7/101 credit
  • Checked

    Three.js model loading

    Loads glTF and GLB models into three.js with working decoders, so models appear and their animations play.

    by gamedev-skills 13k
    8/101 credit
  • Checked

    Remotion video renderer

    Builds and renders finished MP4 videos in Remotion with word by word captions, transitions and overlays.

    by ericrisco 691
    7/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added