I built an icon library your coding agent can actually use
DEV Community

I built an icon library your coding agent can actually use

Most icon libraries were made for humans browsing a gallery. But a lot of UI code today is written with a coding agent, and agents are bad at icons. They guess component names that do not exist, or they mix two styles that clash on the same screen.

So I built fmicon with that workflow in mind.

1,021 icons in 9 styles

fmicon is 1,021 free icons in 9 styles:

  • linear
  • outline
  • bold
  • bulk
  • twotone
  • broken
  • glass
  • duotone
  • color

Most icon sets give you one or two styles. Here the same icon exists in all 9, and the shape stays the same across styles. So a tab can be linear when idle and bold when selected, and your layout does not shift.

It also includes 39 payment logos, which most icon sets skip. If you build checkout or billing screens, you know how annoying that gap is.

Packages for React, Vue, Svelte and more

There are packages for React, Vue, Svelte, React Native, plain SVG and a core package. They are tree-shakeable and typed.

React looks like this:

npm i fmicon-react
import { Home } from "fmicon-react";

<Home size={24} variant="bold" />

Built for coding agents with MCP

The part I care about most is the MCP server. fmicon has a hosted MCP server, so your coding agent can search the real catalog and insert a real icon, in a style that matches the rest of your app, instead of inventing a name.

Connect it to Claude Code with one command:

claude mcp add --transport http fmicon https://mcp.fmicon.dev/mcp

Then just ask in plain words: "Add a settings button to the navbar. Use a gear icon."

The agent searches fmicon, picks the right icon and writes the code with the correct import and an aria label. It also works with Cursor, VS Code with Copilot, Windsurf, Codex, Zed and Cline.

There is no account, no API key and no usage limit. Your code stays on your machine. The server only receives the icon request, like "gear" or "lock in React".

Use via CDN

If you prefer plain files, every icon is also on a CDN:

<img src="https://cdn.fmicon.dev/svg/linear/home.svg" alt="Home" width="24" height="24" />

Free and open source

fmicon is free and open source. The code and packages are MIT licensed. The icon artwork comes from the 7000 Free UI Icons Figma file by Cristian Munoz and is shared with credit.

Try it at fmicon.dev. If an icon is missing, open an issue on GitHub: github.com/Kakahaja07/fmicon. There are good first issues open if you want to contribute. A star helps other developers find it.

Read on DEV Community ↗ ← Back to News

Comments

No comments yet. Start the discussion.