Chat viewport

Transcript scroll container that owns stick-to-bottom follow behavior, a jump-to-latest pill, and an unread divider.

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

lr-chat-viewport

import '@aceshooting/lyra-ui/components/lr-chat-viewport.js';

Read guide (English)

Related components

  • Checkpoint — Inline conversation restore point with a confirm-then-restore affordance for rolling a chat back to an earlier state.
  • Code block — Fenced code display with optional lazy syntax highlighting and a copy button.
  • Code block core — Build-lean code display that highlights only from a compile-time supplied grammar map.
  • Conversation item — Selectable chat-history row showing a session's title, preview, and timestamp.
  • Generation metrics — Shows elapsed time, tokens, and throughput while an AI response streams.
  • Handoff divider — Labeled separator marking control transfer between agents in a transcript.