Lean streaming text

Small streaming text renderer; Markdown code highlight use only supplied grammars.

Where you type chat, messages, text wey dey stream and conversation threads.

lr-streaming-text-core

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

Optional dependency: marked, dompurify

Read di guide (for English)

Components wey relate

  • Suggestion chips — Scrollable starter or follow-up prompts wey send chosen text to host.
  • Thread list — Grouped searchable conversation sidebar with pin, archive, delete and rename.
  • Transcript feed — Live captions for voice session, with updates from interim to final and follow-to-bottom.
  • Typing indicator — Small presence signal wey show say assistant dey compose answer.
  • Usage badge — Small tokens, cost and latency strip for message or run, with breakdown on hover.
  • Voice picker — Choose TTS voice from supplied catalog, hear preview and handle stale choice.