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:
Install
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://github.com/full-stack-skills/react-skills/blob/main/skills/ai-elements/SKILL.md 1. Fetch the SKILL.md file (and any helper files) from the repository path into a temporary folder and summarize what it does in one or two sentences. 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.
Questions
How do I install a build?
Every product page includes a copy-paste install prompt. Paste it into your Muse and it sets the build 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 build before installing it.