Messages
User and assistant messages, streaming, markdown, code and errors.
Components
5 components availableStreaming Message
Assistant message that renders token-by-token with a cursor and stop control.
User MessageThe user's turn — right-aligned bubble with copy, edit and regenerate actions.
Message ActionsAction row under a message — copy, regenerate, share and feedback.
Error & RetryAssistant error state with a plain explanation and a retry or countdown action.
Markdown MessageRendered assistant reply — code blocks with copy, tables, lists and links.
Patterns using Messages
Complete interfaces composed from these components.