Skip to content

New Message component#222

Merged
haydenbleasel merged 9 commits intomainfrom
new-message-component
Nov 6, 2025
Merged

New Message component#222
haydenbleasel merged 9 commits intomainfrom
new-message-component

Conversation

@haydenbleasel
Copy link
Member

This pull request consolidates the documentation for the Actions, Branch, and Response components into the main Message component documentation. This unifies the chat UI documentation, making it easier for users to understand and implement advanced chat features such as message actions, branching, and markdown rendering. The documentation now provides a comprehensive overview of all related components, updated usage examples, and detailed props tables for the entire suite.

Documentation Unification and Cleanup:

  • Removed the separate Actions documentation file and merged its content into the main Message documentation, including installation, usage, features, and props.
  • Removed the separate Branch documentation file and merged its details into the main Message documentation, including advanced branching features and props.
  • Updated the Message documentation to include all features previously documented in Actions, Branch, and Response, providing a single source of truth for chat UI components.

Enhancements to Main Message Documentation:

  • Added an overview of features such as message rendering, branching, action buttons, markdown support, accessibility, and theme integration.
  • Updated the usage example to demonstrate a complete chat UI with message actions (retry/copy), markdown rendering, and conversation controls, replacing the previous minimal example.
  • Expanded and unified props tables for all subcomponents (Message, MessageContent, MessageResponse, MessageActions, MessageAction, MessageBranch, etc.), improving discoverability and clarity.
  • Added a required CSS import note for Streamdown styles, ensuring users apply correct styling for markdown responses.

Changelog Update:

  • Added a changeset noting the merge of Actions, Branch, and Response into Message, and marking this as a minor version update for the ai-elements package.

@vercel
Copy link
Contributor

vercel bot commented Nov 6, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
ai-elements-registry Ready Ready Preview Comment Nov 6, 2025 9:54pm
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
ai-elements-docs Ignored Ignored Nov 6, 2025 9:54pm

@haydenbleasel haydenbleasel merged commit d5f1159 into main Nov 6, 2025
11 checks passed
@haydenbleasel haydenbleasel deleted the new-message-component branch November 6, 2025 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant