Coin
Deciding
Text
Type
Colour
Ground
Motion
About this effect
Coin is the label for a choice being made: picking a tool, a route, an answer. A coin before your words is tossed up, turning over and over as it rises and falls, while the letters waver from side to side, undecided. It lands, bounces once, and shows its face, a star for heads or a crescent for tails, and the word settles into that side's colour. The next toss lands the other way.
The coin is drawn from the size of the words, edge and all. It is real text, so it can be read, selected and translated; change the words from your app whenever the work changes and the label rebuilds itself around them. Spin sets how many times it turns in the air.
- Formats
- React, HTML
- No dependencies
- Built with
- CSS and a little JS
- Default font Space Grotesk
- Plays
- Loop
- Reduced motion
- Respected
- Shows the finished frame
Accessibility. One real heading, read once with its words; the moving letters and the coin are hidden from screen readers. Under reduced motion the coin rests heads up and the label in the heads colour.
Also known as coin flip animation, deciding indicator, coin toss text, AI choosing status, decision loader, heads or tails animation.
Use it in anything you build, client work included, no credit needed. Don’t republish or resell the effect itself.