Put it inside the heading or paragraph of a section. Each word fills in as the reader scrolls past.
mission-section.tsx
TextFadeScrollReveal
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| locale | string | — | The BCP 47 locale for the letter and word split (Intl.Segmenter). Default: the DisplayLocaleProvider locale, else "en-US". |
| children | string | — | The text. Each piece reveals in turn as the page scrolls. |
| by | "grapheme""word" | — | The size of the pieces: word (default) or grapheme (letters, for a short heading). A text longer than MAX_GRAPHEME_PIECES (40) or a script that joins its letters (Arabic) reveals by word: each letter is one Motion element and one transform that writes in each scroll frame. |
| offset | ParallaxOffset | — | Where the reveal starts and ends, in Motion's offset words: "<point of the text> <point of the view>". Default ["start 0.9", "end 0.55"]: the first piece starts when the top of the text is at 90% of the view height, and the last piece is full when its bottom is at 55%. |
| container | RefObject<HTMLElement | null> | — | The scroll box, when the text scrolls inside one and not with the page. |
| dim | number | — | The opacity of a piece before its turn, from 0 to 1. Default: the dim of the look. |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |









