Chat
A whole agent chat: Conversation with its empty state, scroll button and Markdown download, then Messages with Reasoning, a Tool call, a Confirmation, Sources, versions and a Checkpoint, and Prompt Input with Suggestions, Model Selector and Context. Replies are scripted.
components/conversation.tsxcomponents/message.tsxcomponents/prompt-input.tsxDesign assistant
Usage
When to use
Use when
The frame of an agent chat, on Message Scroller: ConversationContent (a named region holding the message log), ConversationEmptyState before the first message, ConversationScrollButton, and ConversationDownload, which saves { role, parts } messages (useChat's shape) as Markdown. The Chat example on /components/agents puts every agent component together
Don’t use when
A conversation without agent features, where Message Scroller on its own is enough; a feed that isn't a conversation