Reel
Text
Put the changing words in {curly|braces}, split by bars.
Type
Colour
Ground
Motion
Built for
About this effect
Reel puts a slot machine in your headline. The changing word sits in a window; every few seconds the reel spins a full lap of the list, smeared with motion blur, and lands on the next word with a little bump, and the window eases to the new word's width so the sentence closes up round it.
The words are stacked in a strip that moves with one transform transition, repeated so a lap always has room, and quietly reset after each spin. Screen readers hear the sentence once, with every word in the list.
Put the changing words in curly braces, split by bars. Three to five words of similar length spin best.
- Formats
- React, HTML
- No dependencies
- Built with
- CSS and a little JS
- Default font Bricolage Grotesque
- Plays
- Loop
- Reduced motion
- Respected
- Shows the finished frame
Accessibility. The heading is named by the sentence with every word in the list, read once; the reel is hidden from screen readers. Under reduced motion it shows the first word and stays.
Also known as slot machine text, rotating words, word roller, text spinner, changing words animation, vertical word carousel.
Use it in anything you build, client work included, no credit needed. Don’t republish or resell the effect itself.