Message parts

Renders ordered, interleavable AI message parts with text, reasoning, tool, citation, attachment, and media primitives.

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

lr-message-parts

import '@aceshooting/lyra-ui/components/lr-message-parts.js';

Read guide (English)

Related components

  • Prompt input — Combines prompt composition with attachments, model and voice selection, retrieval sources, mentions, commands, and queued turns.
  • Prompt queue — Manages a controlled queue of follow-up prompts that can be edited, reordered, removed, or sent immediately.
  • Realtime session — Provides a provider-neutral voice-session shell for connection, activity, transcript, capture, mute, and interruption controls.
  • Selection toolbar — Positions ask, quote, cite, and copy actions beside selected text while carrying its document anchor.
  • Agent workspace — Responsive controlled shell for an AI conversation that composes the transcript, composer, and an optional run/tool/retrieval/grounding/context details pane.
  • Audio visualizer — Canvas-drawn voice-activity visualization that reflects an agent's idle, listening, thinking, or speaking state.