vercelvercelOfficialยท1 Agent Skills Included

ai-elements

Pre-built React components for AI chat and agent interfaces

Builds AI-native chat interfaces with ready-made React components for conversations, messages, code blocks, reasoning displays, and attachments. Eliminates the need to design chat bubbles, tool call views, and token usage indicators from scratch. Installs directly into your Next.js project via CLI so your AI agent can assemble full chatbot UIs quickly.
npx skills add vercel/ai-elements --all -g -y

All Skills in This Repository (1)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install AI Elements?โ–ผ

Run `npx skills add vercel/ai-elements --all -g -y` in your terminal to install this skill suite globally for your AI agent.

What is AI Elements used for?โ–ผ

It is a React component library built on shadcn/ui that provides pre-built UI pieces like conversations, messages, code blocks, and reasoning displays for AI chat applications.

How do I add AI Elements components to my Next.js project?โ–ผ

Run `npx ai-elements@latest` to install all components, or `npx ai-elements@latest add <component-name>` for a single one. Components are copied into your codebase for full customization.

Does AI Elements work with the Vercel AI SDK?โ–ผ

Yes. It is designed to pair with the AI SDK's useChat hook and Tool types, so messages, tool calls, and agent configurations render correctly out of the box.

Do I need shadcn/ui to use AI Elements?โ–ผ

Yes. AI Elements builds on shadcn/ui and Tailwind CSS, but the CLI automatically sets up shadcn/ui if your project does not have it yet.

Related Repositories in Design & Creative

View All in Design & Creativeโ†’