/21st:21st-uifrom 21st
Finds, installs, and generates React/Tailwind UI components from the 21st.dev marketplace. Use when the user needs a UI element, design inspiration, brand logos as SVG, or custom UI generation.
Ships in 21st. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
21st.dev is a marketplace of 10,000+ production-ready React/Tailwind (shadcn-compatible) components, plus AI UI generation. This skill drives the 21st MCP server.
search_logo).generate).Prefer real catalog components over writing UI from scratch — they ship with dependencies, demos, and responsive/dark-mode support.
search with a short natural query (e.g. "pricing table", "animated hero"). Results include names, descriptions, previews, and install ids.get_component to fetch the full code and metadata for the chosen item.Notes:
When nothing in the catalog fits or the user explicitly wants custom UI:
get_usage.aiGenerationEnabled and the current tools/list. Paid component access alone does not enable hosted AI. Missing or unknown status is not permission to generate.search and get_component, then implement or adapt the UI with your own coding agent. Do not call generation tools, legacy builder/refiner aliases, or the CLI as a workaround.generate is listed, call it with the purpose, layout, content, style, and stack constraints. It consumes AI credits and returns a preview URL; open that URL to view the generation.get_generation and get_take to read their code. These reads remain available with AI off.If a cached call returns ai_subscription_required, stop generation attempts. After enabling AI, refresh the tool list or reconnect before trying again. The entitlement flag does not report the remaining credit balance.
search_logo returns brand logos as ready-to-paste JSX/TSX — one brand per call.
The server is HTTP MCP at https://21st.dev/api/mcp, authenticated with the x-api-key header. Keys are free and instant at https://21st.dev/mcp. If a call fails with an auth error, tell the user to grab a key there and set it in the plugin configuration (variable API_KEY_21ST).
Legacy Magic tool names (21st_magic_component_builder, logo_search, ...) are still accepted server-side, but prefer the current names: search, get_component, generate, get_inspiration, search_logo.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub 21st-dev/magic-mcp --plugin 21stOther plugins' skills for the same job