TypingIndicator
Inline typing and loading status indicators for chat surfaces.
TypingIndicator
TxTypingIndicator renders a polite status region with a compact animated indicator. Use variant to match the chat surface density and set showText=false when surrounding UI already labels the pending state.
TypingIndicator
Demo will load when visible.
Variants
TypingIndicator variants
Demo will load when visible.
API
Props
| Prop | Type | Default | Description |
|---|---|---|---|
variant | 'dots' | 'ai' | 'pure' | 'ring' | 'circle-dash' | 'bars' | 'dots' | Visual loader style rendered inside the status region. |
text | string | 'Typing…' | Visible status label shown when showText is enabled. |
showText | boolean | true | Controls whether the text label is rendered next to the indicator. |
size | number | 6 | Dot diameter in pixels for the dots variant. |
gap | number | 5 | Gap in pixels between dots in the dots variant. |
loaderSize | number | 44 | Outer size in pixels for the ai loader. |
pureSize | number | 14 | Diameter in pixels for the pure spinner. |
ringSize | number | 18 | Diameter in pixels for the ring spinner. |
ringThickness | number | 2 | Stroke thickness in pixels for the ring spinner. |
circleDashSize | number | 18 | Diameter in pixels for the circle-dash spinner. |
circleDashThickness | number | 2 | Stroke thickness in pixels for the circle-dash spinner. |
circleDashDashDeg | number | 12 | Dash angle in degrees for the repeating conic pattern. |
circleDashGapDeg | number | 12 | Gap angle in degrees for the repeating conic pattern. |
barsSize | number | 12 | Height in pixels for the bars loader. |