@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
136 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 Example implementation of commit.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-commit.json Example implementation of confirmation accepted.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-confirmation-accepted.json Example implementation of confirmation rejected.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-confirmation-rejected.json Example implementation of confirmation request.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-confirmation-request.json Example implementation of confirmation.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-confirmation.json Example implementation of context.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-context.json Example implementation of conversation.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-conversation.json Example implementation of demo chatgpt.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-demo-chatgpt.json Example implementation of demo claude.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-demo-claude.json Example implementation of demo cursor.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-demo-cursor.json Example implementation of demo grok.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-demo-grok.json Example implementation of demo workflow.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-demo-workflow.json Example implementation of environment variables.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-environment-variables.json Example implementation of file tree-basic.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-file-tree-basic.json Example implementation of file tree-expanded.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-file-tree-expanded.json Example implementation of file tree-selection.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-file-tree-selection.json Example implementation of file tree.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-file-tree.json Example implementation of image.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-image.json Example implementation of inline citation.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-inline-citation.json Example implementation of jsx preview.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-jsx-preview.json Example implementation of message.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-message.json Example implementation of mic selector.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-mic-selector.json Example implementation of model selector.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-model-selector.json Example implementation of open in-chat.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-open-in-chat.json Example implementation of package info.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-package-info.json Example implementation of persona command.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-persona-command.json Example implementation of persona glint.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-persona-glint.json Example implementation of persona halo.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-persona-halo.json Example implementation of persona mana.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-persona-mana.json Example implementation of persona obsidian.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-persona-obsidian.json Example implementation of persona opal.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-persona-opal.json Example implementation of plan.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-plan.json Example implementation of prompt input-cursor.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-prompt-input-cursor.json Example implementation of prompt input-tooltip.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-prompt-input-tooltip.json Example implementation of prompt input.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-prompt-input.json Example implementation of queue prompt-input.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-queue-prompt-input.json Example implementation of queue.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-queue.json Example implementation of reasoning.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-reasoning.json Example implementation of sandbox.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-sandbox.json Example implementation of schema display-basic.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-schema-display-basic.json Example implementation of schema display-body.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-schema-display-body.json Example implementation of schema display-nested.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-schema-display-nested.json Example implementation of schema display-params.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-schema-display-params.json Example implementation of schema display.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-schema-display.json Example implementation of shimmer duration.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-shimmer-duration.json Example implementation of shimmer elements.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-shimmer-elements.json Example implementation of shimmer.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-shimmer.json Example implementation of snippet plain.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-snippet-plain.json Example implementation of snippet.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-snippet.json Example implementation of sources custom.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-sources-custom.json Example implementation of sources.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-sources.json Example implementation of speech input.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-speech-input.json Example implementation of stack trace-collapsed.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-stack-trace-collapsed.json Example implementation of stack trace-no-internal.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-stack-trace-no-internal.json Example implementation of stack trace.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-stack-trace.json Example implementation of suggestion input.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-suggestion-input.json Example implementation of suggestion.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-suggestion.json Example implementation of task.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-task.json Example implementation of terminal basic.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-terminal-basic.json Example implementation of terminal clear.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-terminal-clear.json Example implementation of terminal streaming.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-terminal-streaming.json Example implementation of terminal.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-terminal.json Example implementation of test results-basic.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-test-results-basic.json Example implementation of test results-errors.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-test-results-errors.json Example implementation of test results-suites.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-test-results-suites.json Example implementation of test results.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-test-results.json Example implementation of tool input-available.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-tool-input-available.json Example implementation of tool input-streaming.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-tool-input-streaming.json Example implementation of tool output-available.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-tool-output-available.json Example implementation of tool output-error.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-tool-output-error.json Example implementation of tool.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-tool.json Example implementation of transcription.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-transcription.json Example implementation of v0 clone.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-v0-clone.json Example implementation of voice selector.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-voice-selector.json Example implementation of web preview.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-web-preview.json Example implementation of workflow.
npx shadcn@latest add https://ai-sdk.dev/elements/api/registry/example-workflow.json