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.

terminal
npx neaticons search sign out     # find the name
npx neaticons add logout home      # add the icons

add

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/.

terminal
npx neaticons add home wallet arrow-right
src/components/icons/HomeIcon.tsx
import 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>
  )
}
app/page.tsx
import { HomeIcon, WalletIcon } from "@/components/icons"

<HomeIcon className="size-5 text-zinc-500" />
<button aria-label="Wallet"><WalletIcon /></button>
OptionWhat it does
--stylerounded-stroke (default), rounded-solid, sharp-stroke, sharp-solid
--formattsx, jsx, vue or svg. Default: picked from your project
--dirThe folder to write to
--sizeDefault size in px (24)
--animatedThe hover-animated component from @neaticons/react (needs a seat key)
--overwriteReplace 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.

init

Saves your project's defaults, so every add uses the same style, format and folder. Commit the file.

neaticons.json
{
  "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.

terminal
npx neaticons login <seat key>
npx neaticons whoami
npx neaticons logout

skill

Installs the Neat Icons agent skill so Claude Code or Cursor knows how to find and add icons in this project.

terminal
npx neaticons skill            # .claude/skills/neaticons (this project)
npx neaticons skill --global   # ~/.claude/skills/neaticons (every project)
npx neaticons skill --cursor   # .cursor/rules/neaticons.mdc

mcp

Prints the setup for the hosted MCP server in Claude Code, Cursor, Windsurf and VS Code, with your key if you are logged in.

terminal
npx neaticons mcp

How 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.