forever components

Kinetic Typography

Pivot Flip Row

A row of split-flap cards flips letter by letter in a cascading wave, cycling through words in mint-on-purple departure-board style.

canvasmedium complexitymoderate motionclick

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

Airport/transit-themed UIs, countdown displays, hero text with a mechanical retro feel.

When not to

Contexts needing legible static text at all times; low-end devices where canvas redraws per frame may stutter.

Working with an AI agent

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

Change the words array to ["CODE","SHIP","DONE"], set ACC to '#ffdb80' for an amber palette, and increase STEP to 120 for a slower cascade. Theme: dark tokens live in :root, the light variant in :root[data-theme="light"]; ?theme=light or a {type:'forever:theme'} postMessage switches at runtime.

Safe to edit

  • words array (words=[...])
  • cascade delay (STEP=70ms)
  • flip duration (DUR=320ms)
  • accent color (ACC='#80ffdb')
  • hold time between words (650ms in frame loop)
  • font size scalar (H*0.42)
  • theme tokens (:root dark defaults + [data-theme=light] overrides)

Keep intact

  • IIFE wrapper
  • prefers-reduced-motion guard + renderStatic fallback
  • visibilitychange stop/start
  • DPR-aware canvas sizing
  • theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)

Known limitations

  • All words should be similar length to avoid layout reflow mid-cycle; maxLen logic handles it but short words leave visible empty card slots
  • Click only restarts the cycle (resets t0), it does not advance to next word on demand

split-flapdeparture-boardtypographycanvasflipkineticmonospace

More Kinetic Typography components

  • Weight Morph WaveEach letter of a word pulses font-weight and vertical scale in a staggered sine wave, shifting hue from cyan to blue.
  • 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.