Introducing AI Elements: Prebuilt, composable AI SDK components
By Steven Van ·
The open source component library, built on shadcn/ui, replaces ChatSDK and installs via `npx ai-elements@latest`.
Vercel has released AI Elements, an open source library of customizable React components for building interfaces with the Vercel AI SDK. Built on shadcn/ui, it gives full control over UI primitives such as message threads, input boxes, reasoning panels, and response actions, and pairs with useChat from the AI SDK to manage state and streaming while AI Elements handles rendering.
Components install via a CLI (npx ai-elements@latest), which lets developers pick components, import them, and start building. AI Elements replaces ChatSDK, which will be migrated to a dedicated Next.js template; future templates will use AI Elements to support interface patterns beyond chat.
Read more about Vercel in the original announcement.