Widget renderer

Renders an agent-streamed declarative JSON widget tree through an allowlisted type-to-component registry.

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

lr-widget-renderer

import '@aceshooting/lyra-ui/components/lr-widget-renderer.js';

Read guide (English)

Related components

  • Message parts — Renders ordered, interleavable AI message parts with text, reasoning, tool, citation, attachment, and media primitives.
  • 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.