基础动画
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