Chat composer
Auto-resizing chat message input with built-in send and stop controls
Chat composer, messages, streaming text, and transcript threads.
lr-chat-composer
import '@aceshooting/lyra-ui/components/lr-chat-composer.js';Related components
- Chat message — Role-based chat bubble shell with avatar, badges, and a status-aware footer
- Chat viewport — Transcript scroll container that owns stick-to-bottom follow behaviour, a jump-to-latest pill, and an unread divider.
- 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.