Ant Design X
ActiveDescription
Ant Design X is an enterprise-grade React component library for AI conversation interfaces and intelligent agent experiences, with streaming Markdown and A2UI card rendering.
Key Features
- RICH interaction paradigm components - atomic UI for AI conversation stages
- Streaming Markdown renderer - high-performance streaming of formulas, code, and mermaid
- A2UI dynamic card renderer - agents build interactive UIs from structured JSON streams
- Utility SDK for data streams - connect to model agents and manage streaming out of the box
- Skill library - pre-built Agent skills for rapid AI conversation development
- Ant Design ecosystem integration - consistent design language and themeability
Use Cases
Categories
Quick Start
# Install the core components
npm install @ant-design/x
# Optional: streaming markdown and A2UI card renderer
npm install @ant-design/x-markdown @ant-design/x-card
# Utility SDK for data streams
npm install @ant-design/x-sdk
import { Bubble, Sender, Conversations } from "@ant-design/x";
import { XMarkdown } from "@ant-design/x-markdown";
export default function App() {
return (
<>
<Conversations />
<Bubble content="Hello! How can I help you today?" />
<XMarkdown content={"Streaming **markdown** with `code`."} streaming />
<Sender />
</>
);
}