Push to talk

Mic capture button that owns the full permission-request, recording, and teardown lifecycle for press-and-hold or toggle use.

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

lr-push-to-talk

import '@aceshooting/lyra-ui/components/lr-push-to-talk.js';

Read guide (English)

Related components

  • Stream status — Shows a single streaming connection's phase with heartbeat-aware stall detection.
  • Streaming text — Incrementally renders streaming assistant text, coalescing rapid token updates.
  • 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.