ChatMessage
One message in the chat surface. The member's message draws a sunken bubble, and the assistant's reply draws plain text with an optional slot and action row.
ChatMessage
ChatMessage is one message in the chat conversation. The type says who sent it: the member (user), the assistant (ai, or ai-with-slot when cards follow the text), or the assistant still at work (ai-thinking). Pass actions to an assistant message and it draws MessageActions under the reply, so no caller spaces the row itself. The root of every type spans the full column and places its own content, so a wrapper that aligns it to one side fights that placement.
Hi Jack, 3 new rewards you might like just landed! Want to have a look?
Interaction Phases
State space: none. This item renders no phase treatment of its own.
Politeness is derived locally by this item.
Storybook
Loading
Props
Prop
Type
Also takes the attributes of the element it renders.
Tokens
Derived from the component source at docs-generation time — these are the --augds-* variables it reads. Re-theme the colour slots by constructing a partner DesignSystemTheme and wrapping the consumer subtree in <ThemeProvider>, never by hard-coding values.
--augds-background-sunken-1--augds-foreground-primary--augds-foreground-tertiary--augds-spacing-10--augds-spacing-12--augds-spacing-16--augds-spacing-24
Source
src/components/ui/chat-message/chat-message.tsx
ChatLauncher
Floating entry point to the AI chat surface — a circular partner-primary sparkle button with a glossy inner highlight, optionally paired with a dismissible TeaserMessage card stacked above it.
MessageActionButton
The 24px transparent icon button every message-level surface draws its quiet controls from.