21st get <id> # a component's code + demo (by search result id)21st theme <id> # a theme's CSS
theme is free. get is free on paid plans and metered on the free tier — see Pricing & Credits.
Logos
21st logo discord # search brand + UI SVG logos21st logo "next js" --limit 5
Prints each match’s name and its SVG url(s) to curl. Free, no login required.
Install
21st add <user>/<slug> # install into your project21st add <user>/<slug> --print # just print the command, don't run it21st add @<registry> # install every component in a tracked registry
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.
21st add @limeplay # all 19 components from the limeplay registry21st add @limeplay --print # print the expanded shadcn command instead
21st bookmarks # list your bookmarks21st bookmarks --type theme # only bookmarked themes21st bookmark <id> --type component # bookmark an item21st bookmark <id> --type component --remove
Bookmark lists
Named collections you can group saved items into.
21st lists # your named lists21st list <listId> # items in a list21st list-new "Dashboard inspo" # create a list21st list-add <listId> <id> --type component # add an item21st list-add <listId> <id> --type component --remove
Teams & libraries
21st teams # your teams21st team <teamId> # a team's libraries21st team-lists <teamId> # a team's shared bookmark lists21st team-components <teamId> # components in a team library21st team-components <teamId> --library <id>
Every command accepts --json for scripting. Combine search --json with get
to pull code into your own tooling or an agent.