Skip to content

User Message

The user message displays input submitted by the user in conversational interfaces. It can appear in interactions with an AI assistant or in peer-to-peer conversations, helping to maintain context and continuity within the chat.

Usage

Displayed as a text bubble, the user message visually represents the user’s contribution to a conversation. It may support contextual actions such as copy, edit, or delete.

User message

When to use

  • In chat interfaces where user input is shown as part of a dialogue.
  • In conversation histories or transcripts.
  • In AI chat functions.

Except where otherwise noted, content on this site is licensed under MIT License.