forever components

Kinetic Typography

Weight Morph Wave

Each letter of a word pulses font-weight and vertical scale in a staggered sine wave, shifting hue from cyan to blue.

cssmedium complexitymoderate motionmobile-readyaccessible

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 →
Worth keeping? Votes steer what gets built next — sign in to cast one, free to read

When to use it

Hero text needing ambient motion without distraction. Brand name displays.

When not to

Body copy, strings longer than 8 characters, or viewports under 280px.

Working with an AI agent

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

Change the word to 'HELLO', set accent to #FF6B6B, slow the wave cycle to 4 seconds. Theme: dark tokens live in :root (--kw-*), the light variant in :root[data-theme="light"]; ?theme=light or a {type:'forever:theme'} postMessage switches at runtime.

Safe to edit

  • word content (text variable)
  • wave speed (t += value)
  • font weight range (200..900)
  • theme tokens (:root --kw-* dark defaults + [data-theme=light] overrides)

Keep intact

  • IIFE wrapper
  • prefers-reduced-motion guard
  • visibilitychange pause
  • theme hook (?theme= bootstrap + forever:theme message listener + --kw-* tokens)

Known limitations

  • Requires system font with bold weight; no variable-font axis — weight snaps in steps

typographyvariable-fontloopsine-wavetext-animation

More Kinetic Typography components

  • Scramble DecodeNeon-green monospace words scramble through random glyphs then lock left-to-right like a terminal decrypting. Auto-cycles; click skips to next word.
  • Split-Flap BoardSix amber tiles cycle through letters to spell airport-style words (DEPART, ARRIVE, ONTIME, BOARDS) on a dark charcoal background with a rotateX flip…
  • Gradient ShimmerBold "SHIMMER" text with a rainbow gradient clipped to the letterforms, continuously panning for a glossy iridescent sweep on deep umber.
  • Glitch RGB SplitRed and cyan pseudo-element copies of GLITCH drift and randomly snap with clipped displacement, simulating a CRT RGB-split glitch on near-black.
  • Marquee TickerTwo rows of bold words scroll in opposite directions — yellow left, teal right — with red bullet separators on a dark green background, news-ticker style.
  • Moving MaskDiagonal gradient light band sweeps across REVEAL, illuminating letters in shifting teal-copper hues against dark. Pure CSS mask + background-clip animation.