UI Typing Indicator
Primitive

UI Typing Indicator

@remocn/typing-indicator

From remocn

A continuous typing animation: N dots bounce with a staggered sine wave. A motion atom — it reads the frame and takes color, size, gap, and speed props, defaulting to currentColor so it inherits the bubble it sits in.

Install

npx shadcn@latest add @remocn/typing-indicator

When to use

Good for
Signalling that a reply or an answer is being composed — drop it inside a `message-bubble` or any container.
Avoid for
The wait is an async operation rather than a conversation — use `spinner`, or `skeleton` when the placeholder resolves to content.

Specs

Length
90f · 3s
Length type
Fixed
FPS
30
Style
clean
License
MIT

Depends on

npm packages

Categories