Feedback
Spinner
Shows that work is in progress: thinking, running, or typing a reply.
idle
Usage
Examples
Thinking
Dots slide through a grid, one at a time, while the model reasons.
Typing
Three dots rise in turn while a reply is being written.
Recommendations
| Guidance | Practice |
|---|---|
| Do | Place loading feedback beside the operation and explain what is pending. |
Usage boundaries
| Guidance | Boundary |
|---|---|
| Scope | Use Button loading for button actions and Progress for measurable completion. A spinner does not announce the operation by itself. |
API reference
Public props from @mizen-labs/ui. Use exported prop types for the complete TypeScript contract.
| Prop | Type | Default | Description |
|---|---|---|---|
| | — | Renders an SVG status sized to the surrounding text. |
| | "dots" | thinking slides dots through a grid while the model reasons. dots rotates while work runs and matches Button's loading glyph. typing raises three dots in turn while a reply is being written. |
| | "Loading", "Thinking", or "Typing" | Names what is happening, such as Thinking. Set aria-hidden instead when visible text beside the spinner already says it. |