StreamingIndicator
StreamingIndicator
Section titled “StreamingIndicator”Category: Chat
<ChatMessage role="assistant" pending> helix-ui is a design system where every component is one self-describing <StreamingIndicator variant="block" /></ChatMessage>Install: @helix-ui/core
import { StreamingIndicator } from '@helix-ui/core';status: stable · since: 0.3.0
Tags: ai, streaming, caret, inline
Anatomy
Section titled “Anatomy”…some streamed text▍ ← blinking caret at the endLayout
Section titled “Layout”- display —
inline-block - width —
content - height —
content - intrinsicSize —
~10px wide caret / ~16px dots - stackable —
false - fullBleed —
false
Visual
Section titled “Visual”A small inline marker placed at the end of streaming text. Variants: blinking caret, pulsing block, or three dots.
| Name | Type | Default | Description |
|---|---|---|---|
variant |
'caret' | 'block' | 'dots' |
block |
Visual style. |
Tokens used
Section titled “Tokens used”color.text.action.brand
Accessibility
Section titled “Accessibility”Role: status
Notes
- The element has
aria-label=\"Streaming\". Animation respectsprefers-reduced-motion.
Composes with
Section titled “Composes with”| Component | Relation | Note |
|---|---|---|
ChatMessage |
child |
Lives inside an in-flight assistant message. |
TypingIndicator |
alternative |
TypingIndicator is shown while another participant types. |
ThinkingBlock |
sibling |
Prompt examples
Section titled “Prompt examples”These are the AI prompt → JSX mappings used by the helix-ui prompt DSL and integrations like Cursor / Claude Code.
show LLM streaming
Section titled “show LLM streaming”“caret at the end of streamed text”
<> {text} <StreamingIndicator /></>