AI Elements — build AI chat UIs with shadcn-based React components
Build AI chat interfaces with the AI Elements component library (shadcn/ui): conversations, messages, tool displays, prompt inputs — installable via CLI into your own codebase, with troubleshooting for Next.js, Tailwind v4, and AI SDK setups
- What
- Build AI chat interfaces with the AI Elements component library (shadcn/ui): conversations, messages, tool displays, prompt inputs — installable via CLI into your own codebase, with troubleshooting for Next.js, Tailwind v4, and AI SDK setups
- Cost
- Free
- Needs
- Node.js 18+, an existing Next.js project with shadcn/ui installed, the AI SDK (`ai` package) installed — optional: a Vercel AI Gateway API key ($5/mo free usage tier) so you don't need every provider key
- Install
- Copy the installer prompt below into your Muse — your agent does the rest.
Curated by Skill Harbor — @full-stack-skills's ai-elements skill, listed here with credit to its creator: a setup and usage guide for AI Elements, the shadcn/ui-based component library for AI-native applications (conversations, messages, tool displays, prompt inputs and more). It covers prerequisites (Node 18+, Next.js, AI SDK, shadcn/ui), installing components via the AI Elements CLI into your own codebase (`components/ai-elements/`, full source ownership), usage patterns with `useChat` from the AI SDK, extensibility (all primitives extend standard HTML attributes), and troubleshooting (unstyled components, CLI no-ops, theme switching, missing module imports, tsconfig aliases). Overlap note: @jackspace's ai-elements-chatbot listing in this same lot covers the same underlying library from a production-chatbot-recipe angle — this skill is the general setup and component guide. Honest caveats: needs an existing Next.js + shadcn/ui project; the skill recommends the Vercel AI Gateway for model access (free $5/mo usage tier); the library targets React/Next.js only. Apache-2.0 licensed. Skill Harbor never reviews the code, review it yourself before use. Discovered via skills.sh.
Version:
Quick answer
AI Elements is a free Muse skill that builds AI chat interfaces with the shadcn-based AI Elements component library for React. It covers conversations, messages, and prompt inputs, installing components via CLI into your own codebase with full source ownership, plus useChat patterns. Requires Node 18 plus, Next.js, AI SDK, and shadcn-ui, and targets React and Next.js only.
Install
Copy the install package below, then paste it into Muse🧪 Install ran in our test sandbox · Nov 11, 2026📌 Pinned version: commit b5269ffStep 0 — before installing anything: read this install prompt, summarize in a few lines what this build does and what installing it involves, then ask me to confirm before you proceed. Prerequisites: Node.js 18+, an existing Next.js project with shadcn/ui installed, the AI SDK (`ai` package) installed — optional: a Vercel AI Gateway API key ($5/mo free usage tier) so you don't need every provider key Install "AI Elements — build AI chat UIs with shadcn-based React components" for me. It gives my agent @full-stack-skills's AI Elements guide: verify prerequisites, install components via the ai-elements CLI (components copied into components/ai-elements/ with full source ownership), wire them with useChat from the AI SDK, extend and customize primitives, and troubleshoot common failures (unstyled components, Tailwind v4 config, theme switching, module resolution, tsconfig aliases). Apache-2.0 licensed. Repository: https://raw.githubusercontent.com/full-stack-skills/react-skills/b5269ff2778f0a5a26780ebbfe6ec68e8d8ed06a/skills/ai-elements/SKILL.md Pinned version: install the code at commit b5269ff2778f0a5a26780ebbfe6ec68e8d8ed06a exactly (Skill Harbor tested this version). Do not substitute a newer version. If this commit is unreachable, stop and tell me. 1. Fetch the SKILL.md file (and any helper files) from the repository path into a temporary folder 2. Safety check: review the SKILL.md and scripts for anything suspicious (unexpected network calls, shell commands, credential harvesting). This repo should contain zero secrets in code. Verify that holds here; STOP on any red flag and tell me. 3. Install it as a skill: copy SKILL.md and its helper files into the agent's skills directory, in a folder named "ai-elements". 4. Verify with no network calls: frontmatter valid, files in place. 5. Report what was installed, where, and what I still need to do myself (e.g. ensure shadcn/ui is initialized in my Next.js project; run the ai-elements CLI with my project's package runner; optionally add an AI_GATEWAY_API_KEY to env.local). GitHub is optional: if I have a GitHub account or the gh CLI, you may use it; otherwise public access is fine. Never require it unless it's in the prerequisites above. Rules: don't touch anything outside the temp folder and the install target. If anything looks off, stop and ask me.
Saved to your recent installs. Find it anytime on /connect.
🔒 Security, provenance and what this touches
- It works with an API key or a token that you provide.
What the scan found — excerpts from the install prompt
- uses API keys or tokens — Prerequisites: Node.js 18+, an existing Next.js project with shadcn/ui installed, the AI SDK (`ai` package) in · Prérequis : Node.js 18+, un projet Next.js existant avec shadcn/ui installé, le AI SDK (package `ai`) installé
The install prompt below already includes the vetting steps: your agent follows the community checklist before installing anything with executable code. Want more?
Verification certificate
Dated facts about what was checked for this listing, and how. This is not a safety certification.
- Pinned version
- b5269ff · 2026-10-13
- Sandbox install test
- Install ran in our test sandbox · Nov 11, 2026
- Creator identity
- Not verified
- Fingerprint watch
- Last checked · Nov 19, 2026 : no change detected in the files linked by this install prompt
- Install prompt analysis
- 2026-10-13 : uses API keys or tokens
Skill Harbor never reviews the code of a listed skill. These are dated facts about the install prompt and our install test, not a safety certification. Review a skill yourself before you install it. How we verify
Questions
How do I install a skill?
Every product page includes a copy-paste install prompt. Paste it into your Muse and it sets the skill up for you — no manual configuration.
Where does my money go?
Straight to the seller. Skill Harbor never processes payments: checkout happens on the seller’s own page, usually Stripe.
What does the ✓ next to a creator’s name mean?
It means we confirmed the identity of the person behind the listing. It says nothing about the code itself — always check a skill before installing it.