CLI & MCP
Search the catalog, install components, generate UI and publish your own work — from the terminal or any MCP client.
1. Install & sign in
One global install; login opens the browser and saves a token locally.
2. Use it anywhere
Search, install, publish and manage — no per-editor setup.
3. CI / scripts
Skip login and pass --api-key $API_KEY_21ST (or set the env var) instead.
Search is free and installing code comes with 2 free runs a day. 21st AI generation requires Builder or Team with AI enabled and available credits. Publishing and managing your own work is always included.
Semantic search across components, themes and templates, so your agent finds real references before writing UI.
Search brand and UI logos by name and drop the SVG straight into your project.
Save components, themes and templates into lists, then pull any list back into your agent later.
Browse your team's private component libraries and shared lists from any client.
Pull any component's code straight into the project, npm deps included.
Multiple variants per prompt: compare, pick one, and the code lands back in your agent.
Ship a component from one file with one command: name, tags and demo are auto-detected.
Publish a CSS theme or a template listing from the same CLI, or sync your project's own design tokens straight into a shareable theme.
Change visibility, rename, retag or take down any component, theme or template you've published. No dashboard needed.
Read and rebuild your public bento profile: swap in components, links and photos, or split it into sections with a divider.
Paid plans unlock unlimited installs. Enable AI on Builder or use a Team Builder + AI seat to get monthly generation credits.