@ai-elements
Official Vercel AI SDK component registry (also distributed as ai-elements CLI) for building AI-native Next.js applications. Components span: Chatbot, Conversation, Message, Prompt Input, Model Selector, Reasoning/Chain-of-Thought display, Inline Citation, Confirmation, Checkpoint, Context, Suggestion, Task, Queue, Tool display, Code Block, Commit, File Tree, JSX Preview, Package Info, Sandbox, Schema Display, Snippet, Stack Trace, Terminal, Test Results, Web Preview, Audio Player, Mic Selector, and more. Requires Vercel AI SDK + shadcn/ui + Tailwind CSS. Free, open-source. Use for: AI-first Next.js apps that need a full suite of streaming-ready chat and agentic display components wired to the Vercel AI SDK out of the box.
Install this registry
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/registry.json pnpm dlx shadcn@latest add https://ai-sdk.dev/elements/api/registry/registry.json bunx shadcn@latest add https://ai-sdk.dev/elements/api/registry/registry.json curl -s https://ai-sdk.dev/elements/api/registry/registry.json Components
60 totalAI-powered agent component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/agent.json AI-powered artifact component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/artifact.json AI-powered attachments component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/attachments.json AI-powered audio player component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/audio-player.json AI-powered canvas component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/canvas.json AI-powered chain of-thought component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/chain-of-thought.json AI-powered checkpoint component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/checkpoint.json AI-powered code block component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/code-block.json AI-powered commit component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/commit.json AI-powered confirmation component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/confirmation.json AI-powered connection component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/connection.json AI-powered context component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/context.json AI-powered controls component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/controls.json AI-powered conversation component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/conversation.json AI-powered edge component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/edge.json AI-powered environment variables component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/environment-variables.json AI-powered file tree component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/file-tree.json AI-powered image component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/image.json AI-powered inline citation component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/inline-citation.json AI-powered jsx preview component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/jsx-preview.json AI-powered message component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/message.json AI-powered mic selector component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/mic-selector.json AI-powered model selector component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/model-selector.json AI-powered node component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/node.json AI-powered open in-chat component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/open-in-chat.json AI-powered package info component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/package-info.json AI-powered panel component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/panel.json AI-powered persona component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/persona.json AI-powered plan component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/plan.json AI-powered prompt input component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/prompt-input.json AI-powered queue component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/queue.json AI-powered reasoning component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/reasoning.json AI-powered sandbox component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/sandbox.json AI-powered schema display component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/schema-display.json AI-powered shimmer component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/shimmer.json AI-powered snippet component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/snippet.json AI-powered sources component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/sources.json AI-powered speech input component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/speech-input.json AI-powered stack trace component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/stack-trace.json AI-powered suggestion component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/suggestion.json AI-powered task component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/task.json AI-powered terminal component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/terminal.json AI-powered test results component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/test-results.json AI-powered tool component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/tool.json AI-powered toolbar component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/toolbar.json AI-powered transcription component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/transcription.json AI-powered voice selector component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/voice-selector.json AI-powered web preview component.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/web-preview.json Example implementation of agent.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-agent.json Example implementation of artifact.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-artifact.json Example implementation of attachments inline.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-attachments-inline.json Example implementation of attachments list.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-attachments-list.json Example implementation of attachments.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-attachments.json Example implementation of audio player-remote.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-audio-player-remote.json Example implementation of audio player.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-audio-player.json Example implementation of chain of-thought.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-chain-of-thought.json Example implementation of chatbot.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-chatbot.json Example implementation of checkpoint.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-checkpoint.json Example implementation of code block-dark.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-code-block-dark.json Example implementation of code block.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-code-block.json