What problem does it solve? Building AI chat interfaces from scratch means hand-rolling streaming markdown rendering, tool call displays, reasoning panels, and message part handling — work that is error-prone and produces unformatted raw markdown with visible ** and ## characters. ## Core Features & Use Cases - Pre-built AI Components: 40+ React components installed as source via a shadcn/ui registry, including Conversation, Message, Tool, Reasoning, CodeBlock, and PromptInput. - Streaming Markdown Rendering: <MessageResponse> and MessageMarkdown render any AI-generated markdown incrementally without re-parsing on each stream chunk. - AI SDK v6 Integration: Components understand the UIMessage format and render message.parts (text, tool calls, reasoning, images) automatically with useChat and toUIMessageStreamResponse(). - Use Case: Scaffold a Next.js chat app, run npx ai-elements@latest add message conversation, and get a production-quality streaming chat UI wired to the AI SDK in minutes. ## Quick Start Ask the AI to build a chat interface using AI Elements components with the AI SDK useChat hook and streaming markdown rendering.