05.16 · Text & Typography

Split-Flap Board

Tiles flip through the letters to spell a word, like an airport board. Best for hero titles.

Watch it

It plays by itself. Turn on slow motion to see each part of the movement.

Try it

Change a setting and the animation plays again.

Up to 10 letters, A to Z. A space leaves a blank tile.

Flip speed

How long each tile takes to turn one letter.

Tile color

Cream tiles get dark letters.

Copy the prompt

Paste it into an AI assistant such as ChatGPT, Claude or Cursor to build this in your own project.

Add a split-flap board to [your headline or short word]. Show each letter on its own tile, split across the middle like an old airport departures board. To change a tile, flip it through the alphabet one letter at a time until it reaches its letter: the top half of the old letter falls forward over the hinge, turning in 3D and darkening as it turns, and the bottom half of the next letter swings down into place. Start the tiles a moment apart from left to right, so they settle one by one. Turn the halves with transforms only, and let screen readers hear the final word once. If the visitor has reduced motion turned on, fade the letters in instead. Match the settings listed below.

Replace the words in brackets with your own element. Your settings are added at the end.

Free and open source. If this helped, a star on GitHub helps other people find it.

Star on GitHub

What it is

The full explanation is in README.md.

Good for

  • Hero titles
  • Travel sites
  • Event intros
  • Retro designs

Avoid on

  • Long text
  • Calm pages