forever components

Kinetic Typography

Split-Flap Board

Six amber tiles cycle through letters to spell airport-style words (DEPART, ARRIVE, ONTIME, BOARDS) on a dark charcoal background with a rotateX flip animation.

cssmedium complexitymoderate motion

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 sections with a travel, transit, or retro-tech theme. Countdown or status displays that need tactile mechanical character.

When not to

Long words or sentences — board is fixed at 6 characters. Light-background layouts where the hardcoded dark charcoal body conflicts.

Working with an AI agent

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

Change seq to ["HELLO","WORLD","READY","GOXYZ"] and set the amber color from #f4c430 to electric blue #00bfff to give it a sci-fi feel. 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

  • word sequence (seq array)
  • number of tiles (N=6)
  • amber color (#f4c430)
  • flip speed (animation: flip .09s)
  • hold duration between words (hold=40)
  • theme tokens (:root dark defaults + [data-theme=light] overrides)

Keep intact

  • IIFE wrapper
  • prefers-reduced-motion guard (reduce var)
  • visibilitychange pause/start
  • spin class reflow trick (void offsetWidth)
  • theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)

Known limitations

  • Words longer than 6 characters are silently truncated — change N to match the longest word
  • Flip advances through full alphabet sequentially, so letters far apart take longer to settle

split-flapdeparture-boardtypographyflipamberloopairport

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.
  • 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.