Chat message
Chat bubble for each role, with avatar, badges and footer wey know status.
Where you type chat, messages, text wey dey stream and conversation threads.
lr-chat-message
import '@aceshooting/lyra-ui/components/lr-chat-message.js';Components wey relate
- Chat viewport — Scrollable transcript wey follow newest message, with jump-to-latest button and unread divider.
- Checkpoint — Place inside chat wey person fit confirm before restoring conversation to earlier state.
- Code block — Fenced code display with optional lazy syntax colours and copy button.
- Lean code block — Small code display wey highlight only grammars supplied when building.
- Conversation item — Selectable chat-history row with session title, preview and time.
- Generation metrics — Elapsed time, tokens and speed while AI answer dey stream.