21st.dev MCP server available

21st.dev is a library of React components, templates, themes and shaders that users copy or install into their own projects.

Overview

21st.dev is a library of React components, templates, themes, live shaders and icons created by design engineers. Users browse categories such as hero sections, shaders, backgrounds, buttons, AI chats, cards and grids, navigation, and sign-ins, then copy a prompt or an install command to bring a component into their project. Components are React and TypeScript with Tailwind CSS, published in the shadcn registry format, and land in the user's repository as source they can edit. 21st.dev also offers 21st AI for generating components not in the library, a Design Bug Bot that reviews pull requests, a Shader Builder, and MCP and CLI access inside agents and terminals. It is used by builders ranging from indie makers to large product teams, and works with tools such as Claude Code, Cursor, Codex and Lovable, and with frameworks including Next.js, Vite, Remix and Astro.

Key Features

  • Component library with categories
  • Copy prompt for AI agents
  • shadcn CLI install commands
  • 21st AI component generation
  • Design Bug Bot pull request reviews
  • Shader Builder
  • MCP and CLI access
  • Bookmark lists for components

What Can You Use It For?

  • Adding hero sections to a project
  • Installing UI components via CLI
  • Generating a component not in the library
  • Reviewing design issues on pull requests
  • Building custom shaders in chosen colours
  • Browsing templates and themes

MCP Integration

21st.dev has an MCP (Model Context Protocol) server, so AI assistants and agents can connect to it directly.

MCP URL https://21st.dev/api/mcp

Affiliate Program

No affiliate program is listed for 21st.dev yet. When one is available, its link and terms appear here.

Know an official affiliate program for 21st.dev? Tell us

Frequently Asked Questions

You can browse and search the whole library, open any component live, copy two prompts or install commands a day, and run five Design Bug Bot reviews. No card is needed.

Press Copy prompt and paste it into Claude Code, Cursor, Codex or Lovable, and your agent builds it in your codebase with your theme. Every component also has a shadcn CLI command.

No. 21st is many authors and many styles, not one kit, and the code lands in your repo as source you own so you can change it like any other file.

Unlimited copies and installs in the browser, your agent and the terminal. Builder + AI adds 21st AI generation and keeps Design Bug Bot running after the free reviews.

Components are React and TypeScript with Tailwind CSS, published in the shadcn registry format, and run anywhere React runs, including Next.js, Vite, Remix and Astro.

Alternatives and Related Tools

See More

Design Buddy is your AI design reviewer and feedback tool. Get instant design feedback, catch issues before sharing, and improve your designs with actionable suggestions.

PlantTattoosAI turns real-life plants and flowers into unique tattoo designs using AI trained on real plant imagery.

Get interior design ideas using artificial intelligence and virtually stage interiors for real estate listings with different interior styles. Take a picture...

Calligraphr is a web app that turns your handwriting or calligraphy into a font you can use in your own designs.