21st CLI Use

Search, 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-dev Updated

File contents

21st-dev/codex-plugin/tree/main/skills/21st-cli-use commit 1b9ab0c97b

Frequently asked questions

npx skillmds@latest add 21st-dev/21st-cli-use-2