/21st:21st-ui-explorefrom 21st
Explores and compares multiple UI directions grounded in the project's design system and 21st inspiration. Use when the user wants alternatives, variants, or redesign concepts.
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.
Read when SKILL.md points to them.
Create real choices without abandoning the project's visual identity.
Read .21st/design.json and the relevant product UI. If context is missing,
run 21st init --design-context.
Search 21st for multiple relevant references before generating:
21st search "<interface and product context>" --context auto
Define three named directions. Each direction must differ on at least two meaningful axes such as hierarchy, information density, navigation model, content emphasis, interaction pattern, or composition. Color-only variants do not count.
Keep shared constraints fixed: real stack, tokens, brand assets, required content, accessibility, and responsive behavior.
Create comparable previews. Check MCP get_usage.aiGenerationEnabled or
run 21st usage and read the 21st AI generation line. CLI 1.17.1+ also
supports 21st usage --json. Only when AI is explicitly enabled, use hosted
generation with available AI credits:
21st generate "<goal plus fixed constraints>" --context auto --variants 3
Otherwise, implement the previews with your own coding agent, grounded in
21st search and 21st get (MCP: search and get_component). Do not call
or suggest hosted generate or iterate_generation without AI access.
Present the options together when the host supports a picker. Otherwise give each option a preview/deep link and a compact comparison.
Recommend one direction with concrete tradeoffs, but let the user choose.
After selection, remove abandoned local variants and record the decision in
.21st/design.json.
For every direction provide:
Do not generate random style mutations. Every difference must support a product or usability hypothesis that a user can evaluate.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub 21st-dev/claude-code-plugin --plugin 21st7 skills in this plugin
/21st-aiGenerate and iterate on UI with 21st AI from the terminal via the `21st` CLI (`@21st-dev/cli`): sketch a UI from a prompt, preview the variants in the browser, edit any variant in place with a natural-language change, and pull the final code into the project. Use whenever the user wants to BUILD / SKETCH new UI ("sketch a pricing page", "generate a hero with 21st", "make me a <X> section"), ITERATE on a generated draft ("edit the third variant", "add a toggle to that take"), or GRAB the code of a draft ("pull that variant's code", "сгенери UI на 21st", "поправь третий вариант", "забери код того наброска"). For finding/installing existing components use the `21st-cli-use` skill; to publish your own, `21st-registry`./21st-cli-useSearch, install and pull code from the 21st.dev catalog with the `21st` CLI (`@21st-dev/cli`): find React/shadcn components, themes and templates, print a component's code or a theme's CSS, install an item into the project, or generate a new component with 21st AI. Use whenever the user says "search/find a component/theme on 21st", "install our team's Button", "add @user/slug", "pull that component's code", "найди компонент на 21st", "поставь наш компонент", or wants to script catalog access from the shell/CI. Auto-activate when a project has a `components.json` — search 21st before hand-writing UI./21st-design-syncLook at the current project's design (its shadcn / Tailwind CSS variables and color tokens) and publish it to the 21st.dev community as a shareable theme, using `21st publish-theme`. Use when the user says "publish my theme", "share our design as a 21st theme", "sync my design to 21st", "turn my globals.css into a theme", "залей наш дизайн темой", "опубликуй тему". This is the 21st equivalent of design-sync: it reads the project's design tokens and syncs them into the public theme library./21st-registryPublish your own work to 21st.dev and manage it from the terminal with the `21st` CLI (`@21st-dev/cli`): publish a React component to a team library, publish a CSS theme or a template listing, edit / unpublish / delete your published items, list and reopen existing component work, and read/replace your public profile page (bento board). Triggers when the user says "publish/share/upload this to 21st", "залей в наш регистр", "опубликуй компонент/тему/темплейт", "share with team", "make this reusable", "unpublish/edit/delete my component", "change its visibility", "find/open my old component or draft", "найди/открой мой старый компонент или драфт", "add this to my 21st profile/bento", "update my profile page", "обнови мой профиль на 21st", "добавь блок в бенто", "add controls/knobs to my demo", "сделай демо с контролами". For finding and installing existing items use `21st-cli-use`; for turning a project's design tokens into a theme use `21st-design-sync`./21st-ui-buildBuild or substantially change production UI using the current project's design context, existing components, and grounded 21st inspiration. Use when implementing a page, section, component, responsive redesign, or visual polish in an existing web project. Trigger for requests such as "build this UI", "implement this screen", "make this page production-ready", or "use 21st to create the interface". Use 21st-ui-explore first when the visual direction is intentionally undecided, and 21st-ui-review for critique-only work./21st-ui-reviewReview existing UI against the project's design context, accessibility expectations, responsive behavior, interaction quality, and high-confidence production rules. Use for UI audits, design QA, frontend review, accessibility review, consistency checks, or requests to find and safely fix visual defects. Trigger for requests such as "review this UI", "audit this page", "find design issues", "check responsiveness", or "fix obvious UX problems". Use 21st-ui-build when the request is primarily to create new UI.Other plugins' skills for the same job