Quick answer
21st.dev is a large registry of React and shadcn/ui components, templates and themes, with an MCP server that lets Cursor, Claude Code and other agents search and install them, plus 21st AI for generating new components. The free plan allows 2 installs a day; Builder removes the limit for $6 a month billed yearly.
What is 21st.dev?
21st (21st.dev) is a community registry where design engineers publish React components, full templates, shadcn themes, shaders and gradients. Components use React, Tailwind CSS and TypeScript and are compatible with shadcn/ui. 21st says it has 12,000+ pieces of UI. It works in two ways: you can find and install existing components, or generate new ones from a prompt with 21st AI.
Main parts:
- Registry: browse, search, preview and install components, templates, themes, libraries and icons. Components install through the shadcn CLI, or you can copy a prompt into an AI tool such as v0 or Lovable.
- 21st MCP (formerly Magic MCP): lets coding agents search the registry, fetch component code, find logos and generate components. It works with Cursor, Claude Code, Codex, VS Code, Devin (Windsurf) and other MCP clients.
- 21st AI (formerly Magic Chat): generates React components from a prompt, with a live sandbox, or quick HTML drafts.
- 21st CLI: sets up the MCP config for your editor and lets you publish components.
- Design Bug Bot: reviews pull requests for design issues.
Setup for an editor starts with npx @21st-dev/cli@latest init --client cursor (or claude, codex, vscode, devin) and an API key from 21st.dev/mcp.
21st.dev pricing
| Plan | Billed yearly | Billed quarterly | What you get |
|---|---|---|---|
| Free | $0 | Full browsing, 2 component copies or installs a day, 5 Design Bug Bot reviews | |
| Builder | $6/month | $8/month | Unlimited installs and MCP retrieval, no AI credits |
| Builder + AI (500 credits) | $15/month | $20/month | Builder plus 500 AI credits a month |
| Builder + AI (1,000 credits) | $30/month | $40/month | Builder plus 1,000 AI credits a month |
| Builder + AI (2,000 credits) | $60/month | $80/month | Builder plus 2,000 AI credits a month |
| Team | $7.50 per seat a month | n/a | Builder for teams; $18.75 per seat with a shared AI credit pool |
21st does not list monthly billing. AI credits are charged by actual model usage, and unused monthly credits do not carry over. Extra credits cost $5 per 100, one time, and those do roll over until used.
Licensing
21st says the code is yours once you copy it into your project, with no wrapper package or runtime dependency on 21st. It does not state a single license for all components, so check the license on each component or library before you ship it in a commercial product.
Plans and features are from 21st.dev, its pricing page and its MCP and AI documentation, checked on 27 November 2026. Prices are in US dollars and exclude tax.
21st.dev key features
- Registry of 12,000+ React, Tailwind and shadcn/ui components, templates and themes
- 21st MCP for Cursor, Claude Code, Codex, VS Code and Devin
- 21st AI component generator with live sandbox
- Install through the shadcn CLI or copy a prompt
- CLI for setup and publishing
- Design Bug Bot for pull request reviews
Pros and cons
Pros
- Free plan for browsing and 2 installs a day
- Builder is cheap at $6 a month billed yearly
- Works with the main AI coding agents through MCP
- No runtime dependency on 21st once code is copied
Cons
- No monthly billing option
- AI generation costs extra credits
- Unused monthly AI credits expire
- No single license stated for all components
21st.dev vs other AI Coding tools
| Tool | Pricing | Best for | Platforms | Link |
|---|---|---|---|---|
| 21st.dev | Freemium · $6/month billed yearly | Developers building React and shadcn/ui interfaces with AI coding agents | Web, MCP server, CLI | |
| Devin | Freemium · $20/month | Developers who want a free AI editor or a background coding agent | Desktop app, web | Details |
| Google Antigravity | Freemium · Free; more with Google AI Pro | Former Gemini Code Assist users and anyone who wants free coding agents | App, CLI, IDE extensions, Python SDK | Details |
| Kie.ai | Paid · Pay as you go | Developers who want one API for many image, video and music models | API, web playground | Details |
| Replit | Paid · $20/month ($18 billed yearly) | Building and hosting simple apps from a description, without a local setup | Web | Details |
| Cursor | Freemium · $8/month | Developers who want an AI agent across editor, terminal and cloud | macOS, Windows, Linux, Web, CLI | Details |
| GitHub Copilot | Freemium · $10/month | Developers who work in GitHub and want an agent in their editor | VS Code, Visual Studio, JetBrains, Xcode, Vim, Neovim, Zed, Eclipse, CLI, GitHub | Details |
21st.dev FAQ
Is 21st.dev free?
Yes. The free plan includes full browsing and 2 component copies or installs a day across the web, MCP and CLI.
How much does 21st.dev cost?
Builder is $6 a month billed yearly or $8 billed quarterly. Builder + AI starts at $15 a month billed yearly for 500 credits.
What is the 21st MCP?
Formerly Magic MCP, it lets AI coding agents search the 21st registry, fetch component code and generate components.
Which editors does 21st work with?
Cursor, Claude Code, Codex, VS Code, Devin (Windsurf) and other MCP clients.
Do unused 21st AI credits roll over?
Monthly credits do not. Extra credit packs ($5 per 100) roll over until used.