CLI
Add icons to your project as your own files: typed React components or SVG. No dependency, nothing to configure. Runs with npx, needs Node 18 or newer.
npx neaticons search sign out # find the name
npx neaticons add logout home # add the iconsadd
Writes one file per icon and keeps an index next to them. In a React or Next.js project you get typed components in src/components/icons: .tsx when there is a tsconfig.json, .jsx when there isn't. In Vue or Nuxt you get .vue components. Anywhere else you get SVG files in icons/.
npx neaticons add home wallet arrow-rightimport type { SVGProps } from "react"
export function HomeIcon({ size = 24, ...props }: SVGProps<SVGSVGElement> & { size?: number | string }) {
return (
<svg width={size} height={size} viewBox="0 0 24 24" fill="none" aria-hidden={...} {...props}>
...
</svg>
)
}import { HomeIcon, WalletIcon } from "@/components/icons"
<HomeIcon className="size-5 text-zinc-500" />
<button aria-label="Wallet"><WalletIcon /></button>| Option | What it does |
|---|---|
--style | rounded-stroke (default), rounded-solid, sharp-stroke, sharp-solid |
--format | tsx, jsx, vue or svg. Default: picked from your project |
--dir | The folder to write to |
--size | Default size in px (24) |
--animated | The hover-animated component from @neaticons/react (needs a seat key) |
--overwrite | Replace files that already exist (they are skipped otherwise) |
The components use currentColor, are aria-hidden unless you pass an aria-label, and the Solid cut-outs are real masks, so they stay see-through on any background.
search and categories
Plain words in, icon names out. Everyday words work too: “delete” finds trash, “sign out” finds logout.
npx neaticons search saudi riyal
npx neaticons search user --category users --limit 10
npx neaticons search arrow --free --json
npx neaticons categoriesinit
Saves your project's defaults, so every add uses the same style, format and folder. Commit the file.
{
"style": "rounded-stroke",
"format": "tsx",
"dir": "src/components/icons"
}login, logout, whoami
With no key the CLI gives you the 201 free icons. A seat key unlocks every icon on this computer. It is saved in ~/.config/neaticons/config.json. In CI, set NEATICONS_LICENSE_KEY instead.
npx neaticons login <seat key>
npx neaticons whoami
npx neaticons logoutskill
Installs the Neat Icons agent skill so Claude Code or Cursor knows how to find and add icons in this project.
npx neaticons skill # .claude/skills/neaticons (this project)
npx neaticons skill --global # ~/.claude/skills/neaticons (every project)
npx neaticons skill --cursor # .cursor/rules/neaticons.mdcmcp
Prints the setup for the hosted MCP server in Claude Code, Cursor, Windsurf and VS Code, with your key if you are logged in.
npx neaticons mcpHow it works
The neaticons package holds no icons. It asks the Neat Icons server for exactly the icons you name, so you always get the newest drawing, and your seat key decides whether you get the free icons or all of them. The CLI code is MIT; the icons follow the Neat Icons license.