New AI components for chat and agent interfaces, an upgraded Chat template, HeroUI 3.1.0 peer dependency support, and focused polish.

This release adds a new AI component family to @heroui-pro/react: composable primitives for chat conversations, prompt composers, attachments, markdown, code blocks, citations, tool calls, and reasoning traces. It also refreshes the Chat template around those primitives and updates HeroUI OSS peer dependencies to 3.1.0.
⚠️ Breaking change: @heroui/react and @heroui/styles peer dependency minimums are now >=3.1.0.
14 new components are available in the new AI category:
StreamMarkdownThe components are intentionally primitive and composable. You can wire them to any AI runtime, including the AI SDK, a custom backend, or a static chat template.
import {ChatConversation, ChatMessage, Markdown, PromptInput} from "@heroui-pro/react";
<>
<ChatConversation>
<ChatConversation.Content>
<ChatMessage.Assistant>
<ChatMessage.Avatar fallback="AI" show />
<ChatMessage.Body>
<ChatMessage.Content>
<Markdown>{assistantResponse}</Markdown>
</ChatMessage.Content>
</ChatMessage.Body>
</ChatMessage.Assistant>
</ChatConversation.Content>
<ChatConversation.ScrollAnchor />
</ChatConversation>
<PromptInput value={value} onSubmit={send} onValueChange={setValue}>
<PromptInput.Shell>
<PromptInput.Content>
<PromptInput.TextArea placeholder="Ask anything..." />
</PromptInput.Content>
<PromptInput.Toolbar>
<PromptInput.ToolbarStart>{/* actions */}</PromptInput.ToolbarStart>
<PromptInput.ToolbarEnd>
<PromptInput.Send />
</PromptInput.ToolbarEnd>
</PromptInput.Toolbar>
</PromptInput.Shell>
</PromptInput>
</>;PromptInput.Queue adds a compact queued-prompt surface above the composer. It supports Motion-powered reordering, hover actions, attachment indicators, and clamped multi-line prompt previews.
AI answers can now be built from focused response primitives:
Markdown renders response markdown with block-level memoization so streaming updates only re-render changed blocksStreamMarkdown wraps Streamdown for incomplete markdown repair, animation, and caret renderingCodeBlock uses Shiki for highlighted code and includes a copy button with copied-state feedbackChatSource and ChatSources support URL citations, document citations, grouped sources, hover previews, and stacked faviconsChatTool and ChatToolGroup support streaming, running, complete, error, and approval statesThe Chat template now uses the new AI components directly. The composer was rebuilt with PromptInput, attachments use ChatAttachment, assistant messages use Markdown, ChainOfThought, ChatSource, and ChatTool, and the template includes richer demo threads for markdown, tools, sources, loading states, and message actions.
The template also gained shared strings, safer attachment URL cleanup, refreshed library/explore pages, and updated package versions for the latest HeroUI stack.
Every AI component has full docs, Storybook coverage, demos, CSS class references, and API tables. The All Components page now includes the AI category so the new primitives are discoverable alongside charts, forms, navigation, and data-display components.
@heroui/react and @heroui/styles dev and peer dependencies now target 3.1.0Added runtime dependencies for the AI response renderer and code highlighting:
markedreact-markdownremark-breaksremark-gfmshikistreamdown@heroui/react and @heroui/styles now require >=3.1.0:
- "@heroui/react": ">=3.0.5"
- "@heroui/styles": ">=3.0.5"
+ "@heroui/react": ">=3.1.0"
+ "@heroui/styles": ">=3.1.0"Update both packages together:
npm install @heroui/react@latest @heroui/styles@latestnpx heroui-proSelect Update HeroUI Pro React to x.x.x (latest) from the interactive menu.
1.0.0-beta.6
Rich Text Editor and Timeline components, PromptInput layout API, Resizable pixel sizing, HeroUI 3.2.0 peer dependency support and focused polish across Agenda, Rating, and scroll surfaces.
Figma Plugin Sync
Sync custom HeroUI themes from the Pro Style Guides into your Figma files — keeping supported design tokens aligned between code and design.