Skip to main content

AI Elements Alternatives (2026): 6 AI Chat UI Libraries Compared

Updated 6 min readMarkdown
AI Elements Alternatives (2026): 6 AI Chat UI Libraries Compared

Vercel's AI Elements is being replaced by AI Elements in shadcn/ui. If you are choosing what to use instead, these are the six libraries worth a look for AI chat UI in React. I make one of them (Detent), so it's marked as ours, and it gets the same "watch for" list as the rest.

Short answer

For most apps, use shadcn/ui's AI Elements. It is the official successor, it is free, and moving a file from the old library keeps its exports. Add assistant-ui if you want chat state handled for you, ElevenLabs UI or Detent for voice, and Detent for finished agent screens like approvals, an artifact canvas or a code diff review.

Your old AI Elements files keep working whichever you choose, so there is no rush. For what moved where, see AI Elements is being deprecated.

Side by side

Library What it is Price
shadcn/ui AI Elements Patterns you copy in Free
assistant-ui Chat runtime plus components Free; optional hosted cloud from $50 a month
prompt-kit Chat kit you copy in Free
CopilotKit Agent framework Free; paid cloud from $49 a month
ElevenLabs UI Voice kit you copy in Free
Detent UI (ours) Finished pieces you copy in Free pieces; Pro $99 once

Prices and details from each library's own site and repository, checked Dec 4, 2026.

shadcn/ui AI Elements

Pick it if you were on AI Elements and want the default path. ui.shadcn.com/docs/ai-elements

  • Licence: MIT
  • AI SDK: Yes, renders from AI SDK message parts
  • Covers: Chat, message, prompt input, reasoning, tool, confirmation, sources, model selector, plan, queue, task and more: 21 patterns

Good: the official successor, maintained by the shadcn/ui team. Keeps the export names and props of the old files, so moving a file is easy. Built on the same components as the rest of your shadcn/ui app.

Watch for: no voice, audio, artifact or canvas patterns; the docs tell you to build those yourself. Patterns, not finished screens: states and motion are yours to design.

assistant-ui

Pick it if you want the chat logic handled, not just the UI. assistant-ui.com

  • Licence: MIT
  • AI SDK: Yes, with a first-party adapter for AI SDK v7
  • Covers: Thread, composer, reasoning, tool calls, approval card, sources, dictation, read aloud, artifact card, canvas, model picker, attachments, branches, thread list

Good: the widest set of chat components of any library here. Handles chat state for you: streaming, editing, branching, history. Also works with LangGraph, AG-UI and Google ADK.

Watch for: a runtime you install from npm, so part of it is not code you own. Saved threads need its cloud or your own backend.

prompt-kit

Pick it if you want a light, classic chat UI and nothing more. prompt-kit.com

  • Licence: MIT
  • AI SDK: Lists the AI SDK and OpenAI SDK as integrations
  • Covers: Chat container, message, prompt input, markdown, code block, reasoning, chain of thought, tool, source, steps, file upload: 19 components

Good: small and easy to read. Installs with the shadcn CLI, one component at a time.

Watch for: no voice, model picker, approvals or artifacts. Quieter lately: last commit Sep 28, 2026.

CopilotKit

Pick it if you are building a copilot inside an existing app, backed by an agent framework. copilotkit.ai

  • Licence: MIT
  • AI SDK: Partly; built mainly for agent frameworks over its AG-UI protocol
  • Covers: Chat sidebar and popup, generative UI, shared state between app and agent, human-in-the-loop approvals, frontend tools, voice

Good: connects a copilot to LangGraph, Mastra, CrewAI and other agent backends. Shared state lets the agent read and change your app. React, Angular, Vue and React Native.

Watch for: a framework to adopt, not a set of components to restyle. Fewer chat parts than the others: no reasoning, sources or model picker listed.

ElevenLabs UI

Pick it if your product talks, and you need the voice parts. ui.elevenlabs.io

  • Licence: MIT
  • AI SDK: Not stated
  • Covers: Orb, waveforms, voice button, speech input, mic and voice pickers, transcript viewer, audio player, conversation bar

Good: covers exactly the voice and audio pieces shadcn/ui did not rebuild. Installs with the shadcn CLI.

Watch for: voice only: you still need chat parts from somewhere else. Its README does not say how it works with the AI SDK.

Detent UI (ours)

Pick it if you want product-grade AI screens without designing them yourself. detentui.com

  • Licence: Free pieces MIT; Pro for one person, unlimited projects
  • AI SDK: The Pro agent chat is wired to the AI SDK; the free pieces take plain props, so they work with any SDK
  • Covers: Prompt box, model and effort picker, voice note, diff review (free); agent chat with tool approvals, agent canvas, whole agent screens (Pro)

Good: pieces arrive finished: states, motion and real content worked out. Fills the gaps: voice note with transcript, artifact canvas, code diff review. Installs with the shadcn CLI and takes your theme.

Watch for: a smaller set than shadcn/ui or assistant-ui: it does not cover every chat part. No chat runtime: state stays with your own code or the AI SDK.

Left out, and why

  • Tambo: its hosted cloud closed on Oct 31, 2026 and the team has moved to a new product.
  • shadcn-chatbot-kit: no changes since Feb 2026, with thinking and voice still marked in progress.
  • Kibo UI AI components: folded into AI Elements; the old pages now redirect there.
  • LangChain agent-chat-ui: archived on Nov 3, 2026.
  • llm-ui: renders streamed output only, and its last release was in 2024.

How to choose

Start from what your app does, not from the library. A plain chatbot needs a thread, a message and a prompt input, and every library here has those. The differences show up in the harder parts.

Agents that act need approvals. If your agent sends, refunds or deletes, you need a screen where a person says yes first. shadcn/ui has a Confirmation pattern, assistant-ui an approval card, and Detent's Agent chat ships the whole flow. The approvals guide shows how it works with the AI SDK.

Voice and artifacts are where the gaps are. shadcn/ui did not rebuild the audio player, transcription or artifact files. For voice, ElevenLabs UI or Detent's Voice note; for an artifact beside the chat, assistant-ui's canvas or Detent's Agent canvas.

Mixing is fine. The copy-in libraries all install with the shadcn CLI and share your theme, so a shadcn/ui chat with a Detent diff review and an ElevenLabs orb is a normal setup.

All facts checked Dec 4, 2026 on each library's own site and repository. Prices change; the library's own page wins if it disagrees with this one.

Originally published on Detent UI.

No comments yet. Be the first to comment.