Skill library

Agent skill UI design

21st Registry

Shape a web interface around a coherent visual direction.

  • UI design
  • Design systems

Install the skill

Installation method

Run the command from your project root with Node.js and npm.

npx skills@latest add 21st-dev/skill --skill 21st-registry --agent claude-code --yes

Check this file in your project.claude/skills/21st-registry/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add 21st-dev/skill --skill 21st-registry

    Select your assistant and choose the project installation scope.

    Official instructions

The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. A React component you can share, real demo states, the destination library and visibility, and a valid 21st sign-in or API key.

View operation manual

What this skill helps with

  • Shape a web interface around a coherent visual direction.

Good for

  • Visual direction
Task
Prepare and review one component in the intended 21st library
Inputs
A React component you can share, real demo states, the destination library and visibility, and a valid 21st sign-in or API key.
Core commands
components / publish --no-open / CLI Review
Skill name
21st-registry
Repository
21st-dev/skill

Start from the actual project

A broad request

Publish this folder to our private 21st library.

A component still needs a portable dependency set, one clear destination, and a reviewed draft. Visibility is an explicit choice.

A workflow you can verify

  1. Confirm whether this is a fresh component or a revision and identify a portable demo.
  2. Get a dedicated Studio draft URL with the chosen component and demo.
  3. Make a decision based on the actual preview, then verify access after publication if authorized.

21st Registry operation manual

Prepare and review one component in the intended 21st library

A React component you can share, real demo states, the destination library and visibility, and a valid 21st sign-in or API key.

  1. Check the current library, source and demo

    Confirm whether this is a fresh component or a revision and identify a portable demo.

    Prompt · Step 1
    Use 21st-registry from 21st-dev/skill. Read the installed SKILL.md first. Keep login tokens and API keys out of command records, docs, and code.
    
    Inspect [component file, demo and intended library]. Check the authenticated account with whoami and inspect components inventory to detect duplicates or a stable component:<id> for revisions. Check dependency declarations, unresolved local imports and portable semantic tokens. Prepare demo states for [behavior], identify the requested visibility and produce the exact proposed CLI command. Keep this step local and read-only.
  2. Create the approved review draft

    Get a dedicated Studio draft URL with the chosen component and demo.

    Prompt · Step 2
    Use 21st-registry from 21st-dev/skill. Read the installed SKILL.md first. Keep login tokens and API keys out of command records, docs, and code.
    
    After I confirm [destination library, visibility and component files], use npx @21st-dev/cli publish with the exact file, --description, the real --demo, and --visibility as chosen. Use --to only for the confirmed library, and include --component component:<id> for a locally changed owned revision. Use --no-open if I want the draft URL without launching a browser. Report the actual Studio draft URL and stop at review.
  3. Review all demos and the cover in Studio

    Make a decision based on the actual preview, then verify access after publication if authorized.

    Prompt · Step 3
    Use 21st-registry from 21st-dev/skill. Read the installed SKILL.md first. Keep login tokens and API keys out of command records, docs, and code.
    
    In [Studio CLI Review URL], compare the demo count with expectations, open the demos in the live preview, and try the intended states and any defined Controls. Check light and dark and verify the required cover depicts the component. Report any issue for revision. Publish only after the preview is approved and final visibility is confirmed. If published, report the resulting component URL, actual install line and access setting.

Look up a CLI operation

Read the installed Skill when applying these commands.

Is a Studio draft already installed or listed in the catalog?21st CLI
Command or reference
components / publish --no-open / CLI Review
Examples
A draft is for review. Publishing makes the component available with your selected access. Catalog featuring uses a separate submit action. The CLI returns the component URL and install line after Studio publishes the draft.

Troubleshooting and FAQ

Is a Studio draft already installed or listed in the catalog?

A draft is for review. Publishing makes the component available with your selected access. Catalog featuring uses a separate submit action. The CLI returns the component URL and install line after Studio publishes the draft.