Agent skill · design visual · vercel

ai-elements

Build AI chat interfaces using ai-elements components — conversations, messages, tool displays, prompt inputs, and more. Use when the user wants to build a chatbot, AI assistant UI, or any AI-powered chat interface.

Why this skill is useful

Provides specific components and usage patterns for building AI chat interfaces that the AI wouldn't generate on its own.

What it needs

Requires ai-elements, next.js, node, shadcn/ui installed locally. Requires vercel account access. About 4k tokens when loaded. Last updated 2026-08-01. 2,302 stars on the source repository.

What this skill does

AI Elements AI Elements is a component library and custom registry built on top of shadcn/ui to help you build AI-native applications faster. It provides pre-built components like conversations, messages and more. Installing AI Elements is straightforward and can be done in a couple of ways. You can use the dedicated CLI command for the fastest setup, or integrate via the standard shadcn/ui CLI if you've already adopted shadcn's workflow. IMPORTANT: Run all CLI commands using the project's package runner: npx ai-elements@latest, pnpm dlx ai-elements@latest, or bunx --bun ai-elements@latest — based on the project's packageManager. Examples below use npx ai-elements@latest but substitute the correct runner for the project. Prerequisites Before installing AI Elements, make sure your environment meets the following requirements: Node.js, version 18 or later A Next.js project with the AI SDK installed. shadcn/ui installed in your project. If you don't have it installed, running any install command will automatically install it for you. We also highly recommend using the AI Gateway and adding AIGATEWAYAPIKEY to your env.local so you don't have to use an API key from every provider. AI Gateway also gives $5 in usage per month so you can experiment with models. You can obtain an API key here. Installing Components You can install AI Elements components using either the AI Elements CLI or the shadcn/ui CLI. Both achieve the same result: adding the selected component’s code and any needed dependencies to your project. The CLI will download the component’s code and integrate it into your project’s directory (usually under your components folder). By default, AI Elements components are added to the @/components/ai-elements/ directory (or whatever folder you’ve configured in your shadcn components settings). After running the command, you should see a confirmation in your terminal that the files were added. You can then proceed to use the component in your code. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills vercel/ai-elements--521fa1

View the source on GitHub

Browse the @skills marketplace