Augeo AI Docs
Augeo Design SystemComponents

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.

ChatMessage
Backdrop
Sure thing!

Hi Jack, 3 new rewards you might like just landed! Want to have a look?

Thinking...

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