∞ forever components

Aurora Text

Wind

Aurora-text register, colour travelling through the letterforms. Swipe across the word (or press the arrow keys): the gust bends the letters like grass and rolls along them. Tap for a puff.

canvasmedium complexitymoderate motionpointer

Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited

Live demo — the real component, running in a sandbox. One self-contained HTML file, zero dependencies. Open it on the canvas →
1

When to use it

A short word is the whole component, and a pointer, tap or arrow key should push a colour or a force through the letters.

When not to

Body copy, a string longer than a short word, or a layout that needs the word clear of the wall category chip and vote pill. wallInset is off; confirm the word at a 352px card before turning it on.

Working with an AI agent

Every component ships agent-ready metadata. An example instruction for this one:

Aurora-text register, wind-bent blades in moss. Two palettes: the default on :root and the other theme in a :root[data-theme=…] block; the script reads its colours through syncTheme() with theme-aware fallbacks, and a MutationObserver on data-theme redraws at once, so ?theme=, the forever:theme message and the wall attribute switch it live. Its dark palette matches Grass Gust.

Safe to edit

  • WORD (or word) constant
  • palette constants
  • spring, mass and force constants

Keep intact

  • IIFE wrapper
  • prefers-reduced-motion guard
  • visibilitychange pause
  • pointer-events path and touch-action on the gesture element
  • namespaced prefix
  • theme hook (?theme= bootstrap and forever:theme listener)

typographyinteractivepointerorganic

More Aurora Text components

  • RisoAurora-text register, colour travelling through the letterforms. Drag fast across the word, then stop (or use the arrow keys): the two ink plates of each…
  • LouvresAurora-text register, colour travelling through the letterforms. Flick across a letter to spin its louvres, or tap for a half turn; they coast and drop…
  • ChordAurora-text register, colour travelling through the letterforms. Move across the word (or use the arrow keys): each letter hops as it fills. Grab a…
  • EclipseAurora-text register, colour travelling through the letterforms. Move or drag the moon over the word (or use the arrow keys): its gravity pulls the…
  • ContourAurora-text register, colour travelling through the letterforms. Move or drag over the word (or use the arrow keys): a summit rises and lifts the letters…
  • SqueegeeAurora-text register, colour travelling through the letterforms. Drag down through the word (or use the up and down arrows): the blade pulls ink and drags…