21st AI is a tool for drafting user interface components from a text description. Each prompt produces several takes side by side, so the user can compare them, keep one and refine it. It was formerly known as Magic Chat and sits alongside the 21st component library, which is aimed at developers who build with React and Tailwind.
Users choose Code mode, which produces a full React and shadcn component in a live sandbox, or Sketch mode, which produces a fast HTML draft to take to their own agent. Users can start from any community component and generate their own version. They can edit supported values for free, add notes and iterate on any take, and copy the code or the prompt behind it.
The same account and credits work on the web, in coding agents through MCP and in the terminal with the 21st CLI. The MCP server supports Cursor, Claude, VS Code, Codex and Windsurf, and drafts takes and searches the library inside the chat. A Design Bug Bot reviews pull requests for contrast, spacing and layout bugs and supplies fix code.
Plans are Free, Builder at $6 per month billed yearly, Builder + AI from $15 per month billed yearly, and Team at $7.50 per seat per month billed yearly. AI credits come in allowances of 500, 1,000 or 2,000 a month, and 100 extra credits can be bought for $5 and roll over. Free accounts can copy 2 components a day.