04.35 · Micro-Interactions
Typing Indicator
Three dots in a chat bubble move in turn while someone types. Best for chat apps.
Watch it
It moves by itself. Pause it to look closely, or turn on slow motion to see each dot take its turn.
Mayatyping…
Are you free on Saturday?
Yes! What's the plan?
Inside, each row is one dot's round: all three dots run the same round, each starting a little after the one before, so they move in turn.
All at once: the three dots move together and read as a blink. One after another: each starts a little later, so they read as someone typing.
Try it
Change a setting and see the difference as it moves.
How the dots move
Bounce hops each dot and rests; fade brightens them; wave never stops rising and falling.
Speed
How long one round of the three dots takes. Fast can look impatient.
Bubble color
The other person's bubbles; the dots change with them so they stay easy to see.
Copy the prompt
Paste it into an AI assistant such as ChatGPT, Claude or Cursor to build this in your own project.
Add a typing indicator to [the chat or comment thread where replies arrive]. While the other person is typing, show a small bubble on their side of the conversation with three dots that move one after another in a steady loop, so it reads as someone writing right now. Show it only while they are really typing, hide it after a few quiet seconds, and when their message arrives, put the message where the bubble was. Animate only the dots, never the bubble's size, so it stays smooth, and give screen readers a short text that says who is typing. If the visitor has reduced motion turned on, keep the dots in place and only let them brighten in turn. Match the settings listed below.
Your settings
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 GitHubWhat it is
The full explanation is in README.md.