Skip to content

TypingIndicator

Category: Chat

<ChatList>
{messages.map((m) => (
<ChatMessage key={m.id} {...m} />
))}
{peerTyping ? <TypingIndicator name="Alice" /> : null}
</ChatList>

Install: @helix-ui/core

import { TypingIndicator } from '@helix-ui/core';

status: stable · since: 0.3.0

Tags: typing, dots, pill

( ● ● ● ) ← bouncing dots
  • display — inline-block
  • width — content
  • height — content
  • intrinsicSize — ~36×20px pill
  • stackable — false
  • fullBleed — false

A small pill containing three dots that bounce in sequence. Indicates the other participant is composing a message.

Name Type Default Description
name ReactNode — Optional speaker name rendered to the left of the dots (‘Alice’).

color.bg.action.neutral.default, color.text.secondary, color.text.muted, radius.full, space.2, space.3, font.family.sans, font.size.sm

Role: status

Notes

  • Container is role="status" with aria-live="polite" and an aria-label like “Alice is typing”.
  • Animation respects prefers-reduced-motion.
Component Relation Note
ChatMessage alternative Render in place of a ChatMessage when the participant is typing.
StreamingIndicator alternative StreamingIndicator is for the streaming token, not “is typing”.
ChatList sibling

These are the AI prompt → JSX mappings used by the helix-ui prompt DSL and integrations like Cursor / Claude Code.

“three-dot typing indicator”

<TypingIndicator />