Developer reference: Streaming Text · formerly AI01
aria-live="polite" with aria-atomic="false" — new steps are announced as they appear without interrupting in-progress announcementsaria-expanded and aria-controls to link it to the collapsible body; label updates between "Hide steps" and "Show steps"aria-label="Stop generating"aria-hidden="true"aria-hidden="true" — completion is communicated through the live region when the next step appearsaria-live="polite" to announce the transition to the done stateShow the user what the system is doing, not just that it's busy. Each step name should reflect a real operation. The list must be collapsible — users who trust the process shouldn't be forced to watch it. The stop control is always reachable, and completion is always acknowledged.
Override these CSS custom properties to apply your own visual treatment without touching the component's behavioral contracts.
| Token | Controls |
|---|---|
--rad-surface-card |
Card background |
--rad-border-subtle |
Card border |
--rad-color-approve |
Cursor color, generating status text |
--rad-color-reject |
Stop button background |
--rad-color-text-primary |
Output text |
--rad-color-text-meta |
Token count, default control button text |
--rad-color-focus |
Focus ring color |
--rad-radius-card |
Card border radius |
| Token | Controls |
|---|---|
--rad-stream-controls-divider |
Border above controls row |
--rad-stream-btn-border |
Default control button border |
--rad-stream-btn-hover-bg |
Default control button hover background |
--rad-stream-stop-hover-bg |
Stop button hover background |
"*This is what you look like from the outside, token by token. Render it faithfully.*"
RAD is the original work of Jackie Curry. All rights reserved. No portion may be reproduced, adapted, or incorporated into any product or system without express written permission.
Permitted: citation in academic or editorial contexts with full attribution.
© 2025 Jackie Curry. All rights reserved. Publication date: 2025.
For licensing inquiries, connect on LinkedIn →