AI Elements is a new open source library of customizable React components for building interfaces with the Vercel AI SDK.
Built on shadcn/ui
, it provides full control over UI primitives like message threads, input boxes, reasoning panels, and response actions.
For example, you can use useChat
from the AI SDK to manage state and streaming, and render responses using AI Elements.
Getting started
To install the components, you can initialize with our CLI, and pick your components, import them, and start building.
Read the docs and start building better AI interfaces, faster.