Platform
VaultVault
  • Free15
  • Navigation19
  • Buttons9
  • Scroll55
  • Text27
  • Sliders & marquees19
  • Gallery & images67
  • Cursor24
  • Page transitions10
  • Loaders2
  • Backgrounds10
  • UI components33
ButtonsPart of ProButtons
IconsPart of ProIcons
  • Interface Essentials144
  • Social Icons69
  • Payment Badges41
SavedPart of ProSaved
Support
DocumentationDocumentation
MCP serverMCP server
SettingsSettings
VaultScrollHighlight Word List
Window Headline SwapBrowse all 1823D Word Wheel
  • Free15
  • Navigation19
  • Buttons9
  • Scroll55
  • Text27
  • Sliders & marquees19
  • Gallery & images67
  • Cursor24
  • Page transitions10
  • Loaders2
  • Backgrounds10
  • UI components33
  • Interface Essentials144
  • Social Icons69
  • Payment Badges41
Sign inSign in

Start free. The code for 15 components, no card needed.

Get 15 free

Highlight Word List

This one is locked. Become a member to open the code for it and the rest of the Vault.

See plansTry the 15 free ones

What you'll need.

Install

  • gsap
  • ScrollTrigger
  • SplitText

Setup

npm i gsapregisterPlugin(ScrollTrigger, SplitText)

More like this

  • List
  • Reveal
  • Split text
  • ScrollTrigger

Features.

  • A list of big words that scrolls by normally; nothing is pinned
  • The word nearest the middle of the screen goes to full opacity while the others stay dim
  • Its sentence rises in line by line from behind masks; the last one drops away at once
  • Ruler ticks run down both sides; the tick at the screen's centre is longest and brightest, with three steps of falloff either side
  • The tick count fills the list's height and is re-laid out when the list resizes
  • Sentences re-split by line on resize and font load, so the masks always fit
  • Small screens (767px and below) get a plain stack: every word and sentence visible, no ticks, nothing running
  • Respects prefers-reduced-motion: words and lines switch without moving or fading
  • GSAP, ScrollTrigger and SplitText

How to get it right.

One word per item

Words are set up to 7em in five of eight columns. Keep each to a single word of about ten letters or fewer so it never wraps.

Short sentences

The sentence column is three of eight columns, up to 17.5em wide. A line or two reads best; longer ones push the items apart and the active one has to travel further.

Give it scroll room

The active item is whichever is nearest the screen centre, so the first and last items need space above and below to reach it. The section's 16em bottom padding is there for the last item; keep content above the list for the first.

Adding an intro

It ships without one. Put <header class="whl_intro"> with .whl_eyebrow and .whl_title before .whl_grid, and the section's 16em gap spaces it from the list. In React, pass eyebrow and title.

Match the ticks to the page

The ticks are 2px lines at 0.45–1 opacity. The default #f68e66 suits the dark page it ships on; if you retheme to a light page use #ad3f12 or they vanish.

Variations.

  • Default — orange ticks, words dimmed to 0.15
  • Quiet — data-au-color="#bdb6aa" for grey ticks that stay in the background
  • Ghost words — data-au-dim="0.05" so only the active word really shows
  • Even — data-au-dim="0.35" for a list that's readable before you scroll
  • Your colours — override --whl-bg, --whl-text, --whl-muted and --whl-tick on .whl_section

Where it fits.

  • About pages — values or principles, like this demo
  • Services — one word per service with a line on what it means
  • Manifestos — a short list of beliefs to scroll through slowly
  • Case studies — the steps of a process, one word each

Frequently asked.

It's meant to move with the page. The highlight follows whatever item is at the middle of the screen, so it works at any scroll speed and in any page length.

Yes. Each [data-whl-item] takes part, and the ticks fill whatever height the list ends up.

No. It runs on native scroll. If your page uses Lenis, connect it to ScrollTrigger (lenis.on("scroll", ScrollTrigger.update)) as usual.

Below 768px the effect is off on purpose: big words in one column don't leave room for a centre highlight, so it becomes a plain list.

No. Load gsap, ScrollTrigger and SplitText before the script.

Related components.

NewPro

Arc Collage Hero

Scroll

Pro

Rising Card on Scroll

Scroll

Pro

Outline Paint Reveal

Scroll