基礎動畫
UI Typing Indicator
@remocn/typing-indicator
來自 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.
安裝
npx shadcn@latest add @remocn/typing-indicator適用情境
- 適合
- Signalling that a reply or an answer is being composed — drop it inside a `message-bubble` or any container.
- 避免
- The wait is an async operation rather than a conversation — use `spinner`, or `skeleton` when the placeholder resolves to content.
規格
- 長度
- 90f · 3s
- 長度類型
- 固定長度
- FPS
- 30
- 風格
- clean
- 授權
- MIT