Lucide React vs Heroicons
In 4,864 JavaScript/TypeScript projects set up for AI coding agents, Lucide React is a dependency in 1,259 (25.9%) and Heroicons in 73 (1.5%): Lucide React is 17.2× as common. Among repos created in the last 90 days that use a ui components and icons tool, Lucide React is in 57.5% and Heroicons in 1.4%, against 65.5% and 3.9% of older ones. 51 projects list both, often a sign of a migration or of a monorepo with several apps.
UI components and icons npm Updated Nov 17, 2026
| Lucide React | 25.9% | |
|---|---|---|
| Heroicons | 1.5% |
Share of 4,864 JavaScript/TypeScript projects set up for AI coding agents that list each one as a dependency.
Side by side
| Lucide React | Heroicons | |
|---|---|---|
| Agent projects that use it | 1,259 | 73 |
| Rank in ui components and icons | #1 | #18 |
| In new repos with a ui components and icons tool (last 90 days) | 57.5% | 1.4% |
| In older repos with one | 65.5% | 3.9% |
| Downloads, last 7 days | 136M | 6.3M |
| GitHub stars | 25.8K | 23.9K |
| Last push to its repo | Nov 17, 2026 | May 12, 2026 |
| License | ISC | MIT |
| Funding | Yes | — |
| Projects that list both | 51 | |
Downloads include CI runs and installs as a dependency of other packages. Stars and pushes are from GitHub's API; downloads from npm.
By coding agent
| Projects set up for | JavaScript/TypeScript repos | Lucide React | Heroicons |
|---|---|---|---|
| Claude Code | 2,617 | 25.1% | 1.2% |
| GitHub Copilot | 2,350 | 24.4% | 1.2% |
| Cursor | 1,990 | 31.1% | 2.4% |
| Gemini CLI | 422 | 23.9% | 1.4% |
| OpenAI Codex | 409 | 18.8% | 0% |
| OpenCode | 304 | 20.4% | 0% |
| OpenClaw | 241 | 9.1% | 0% |
| Devin Desktop | 231 | 36.8% | 3.0% |
| Kiro | 125 | 27.2% | 0% |
| Roo-Code | 90 | 37.8% | 6.7% |
Share of the JavaScript/TypeScript repos configured for each agent (its config file in the repo) that list the tool. A repo set up for two agents counts for both.
Lucide React
Comprehensive icon library with consistent design for React applications.
Most often used with it:
| clsx | 82.3% of its projects |
|---|---|
| Tailwind Merge | 81.1% of its projects |
| Class Variance Authority | 74.8% of its projects |
| React | 98.8% of its projects |
| Tailwind CSS | 96.1% of its projects |
npm install lucide-react
Heroicons
Beautiful hand-crafted SVG icon set from Tailwind Labs available for React and Vue.
Most often used with it:
| Tailwind CSS | 98.6% of its projects |
|---|---|
| Next.js | 72.6% of its projects |
| Lucide React | 69.9% of its projects |
| React | 89.0% of its projects |
| Tailwind Merge | 65.8% of its projects |
npm install @heroicons/react
More matchups
How we count
Projects are public GitHub repos our weekly scan finds through coding-agent config files (CLAUDE.md, AGENTS.md, .cursor/mcp.json and others); a project uses a tool when its package.json, requirements.txt or pyproject.toml lists it. "Same job" was checked for every pair, so add-ons and companions are never paired. Shares by repo age compare repos created in the last 90 days with older ones in the same scan. More on the method.