Search
search looks across components, themes, and templates and is always free. Flags:
Fetch code
theme is free. get is free on paid plans and metered on the free tier — see Pricing & Credits.
Logos
Prints each match’s name and its SVG url(s) to curl. Free, no login required.
Install
add installs through 21st’s shadcn-compatible registry by shelling out to npx shadcn@latest add against /r/<user>/<slug>, so the component and its dependencies land in your project like any other shadcn component.
Given a namespace instead of a user/slug pair, add installs a whole shadcn registry: it reads that registry’s index from 21st and passes every component to one shadcn add. Nothing is fetched from 21st in that case, the components come from the registry that publishes them, and no login is needed.
Browse the registries at 21st.dev/community/shadcn-directory.
Bookmarks
Bookmark lists
Named collections you can group saved items into.
Teams & libraries
Every command accepts --json for scripting. Combine search --json with get
to pull code into your own tooling or an agent.