Streaming text

Incrementally renders streaming assistant text, coalescing rapid token updates.

Chat composer, messages, streaming text, and transcript threads.

lr-streaming-text

import '@aceshooting/lyra-ui/components/lr-streaming-text.js';

Read guide (English)

Related components

  • Streaming text core — Build-lean streaming text renderer whose Markdown mode highlights fenced code only from a compile-time supplied grammar map.
  • Suggestion chips — Scrollable row of starter or follow-up prompt chips that hand the chosen text to the host.
  • Thread list — Grouped, searchable conversation sidebar with pin, archive, delete, and rename row actions.
  • Transcript feed — Live captions feed for an in-progress voice session with interim-to-final upgrades and stick-to-bottom scroll.
  • Typing indicator — Presentational presence cue that shows the assistant is composing a response
  • Usage badge — Compact tokens/cost/latency strip for one message or run, with a hover tooltip breakdown.