Early-bird pricing is open: 50 of 50 licenses still available. See pricing

Skip to content
popcons

CLI

Use npx popcons to log in, list and add icons and components, install the agent skill and validate icons.

The CLI adds icons and components to your project without leaving the terminal. It needs Node.js and a license key from your account.

Commands

npx popcons login [key]              # verify and save your license key (CI: set POPCONS_LICENSE_KEY)
npx popcons whoami | logout           # show or remove the saved key
npx popcons init                      # write popcons.json (detects framework, Tailwind)
npx popcons search bell --json        # search icons; also: categories, list
npx popcons add bell heart --format react --sound   # copy icons into your project as source
npx popcons ui add button tabs        # add components
npx popcons pack add neon             # add every component of a pack
npx popcons skill install             # install the icon designer agent skill
npx popcons mcp                       # stdio MCP bridge for editors
npx popcons validate my-icon.json     # check an icon definition offline

Command reference

CLI commands
CommandWhat it doesNeeds login
login [key]Verify and save your license key.No
whoami, logoutShow or remove the saved key.No
initWrite popcons.json for your project.No
search, categories, listFind icons by name, tag or category.No
add <icon...>Write icons into your project as source.Yes
ui add <name...>Add components.Yes
pack add <id>Add every component of a pack.Yes
skill installInstall the icon designer agent skill.Yes
mcpRun the stdio MCP bridge for editors.Yes
validate <file>Check an icon definition offline.No
  • login checks your key against the server and saves it for later commands.
  • list prints the icon names you can add.
  • add <icon...> fetches each icon and writes the files into your project.
  • ui add <component...> does the same for components and pack components, into src/components/ui by default. pack add <id> installs every component of a pack. Both need popcons login first.
  • skill install downloads the agent skill for licensed accounts. See Agent skill.
  • validate <file.json> checks an icon definition against the Popcons format without a network call.

Options

CLI options
CommandOptionWhat it does
add--dir <path>Output folder. Default src/components/icons.
add--color, --stroke, --corner, --speed, --intensityBake a style into the files, the same controls as the customizer.
ui add--pack <id>Install every component of a pack (for example neon).
ui add--dir <path>Output folder. Default src/components/ui.
skill install--target claude|cursor|dirWhere to install. Default claude, which writes to ~/.claude/skills.
skill install--dir <path>Skills folder, project folder or exact folder, depending on the target.
any--site <url>API origin. Defaults to $POPCONS_SITE or the production site.

Run any command with --help to see the options in your installed version. Prefer the registry directly? See Components.