Skip to content
2

21st-ai

Generate and iterate on UI with 21st AI from the terminal via the `21st` CLI

by 21st-devFree

#9238in AI Skills
0In stores

Description

21st-ai is an agent skill that shows a coding agent how to draft and refine user interfaces with 21st AI from the terminal, using the 21st C…

Highlights

  • Sketch several UI variants from one prompt
  • Preview drafts in the browser and refine them in plain English
  • HTML + Tailwind drafts with no build step
  • Copy-prompt handoff to rebuild the design in your real stack
  • Works through the 21st CLI or matching MCP tools

Ratings & Reviews

No ratings yet

Be the first to rate 21st-ai.

People also visit

D

design-first-ui-prompting

Design-first, spec-driven, skimmable prompts for UI generation

AI Skills
Get
U

ui-design

Use this to design a nice UI in single html as inspiration & UI exploration

AI Skills
Get
E

enhance-prompt

Transforms vague UI ideas into polished, Stitch-optimized prompts

AI Skills
Get
D

design-and-refine

Generate UI variations, collect feedback, synthesize the best elements

AI Skills
Get
F

frontend-design

Create distinctive, production-grade interfaces avoiding generic AI aesthetics

AI Skills
Get
F

frontend-design-deslop

Designs distinctive, non-generic UI

AI Skills
Get

21st-ai FAQ

What does the 21st-ai skill do?

It guides an agent through 21st AI's drafting loop from the terminal: sketch UI variants from a prompt, preview them, refine the chosen one with plain-English edits, and pull the result into the repository.

How do I install it?

Run: npx skills add https://github.com/21st-dev/skill --skill 21st-ai

How does authentication work?

It uses the same credential as the rest of the 21st CLI: either 21st login, which saves a token, or a 21st_sk_ key passed with --api-key or the TWENTYFIRST_TOKEN variable. The 21st usage command shows your tier and remaining free daily retrieval quota, but not your AI credit balance.

Does it paste raw HTML into my project?

Not by default. Drafts are self-contained HTML and Tailwind, and the recommended handoff is a copy-prompt that asks the agent to rebuild the design in the project's own stack.

What security audit results are shown?

Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.

What are the best 21st-ai alternatives?

Popular alternatives to 21st-ai include design-first-ui-prompting, ui-design and enhance-prompt. See all 21st-ai alternatives

Developer Stuff

Badges