Xerobi Icons vs Heroicons
Heroicons is a popular icon library. Here is how it compares with Xerobi Icons on the things that decide which set fits a product: how many icons there are, which styles, the license and the platforms you can install on.
At a glance
| Xerobi Icons | Heroicons | |
|---|---|---|
| Icons | 6,054 | 324 |
| SVG files | 36,324 | 1,288 |
| Styles | Six weights for every icon: thin, light, regular, bold, fill and duotone | Outline and solid at 24 px, plus solid at 20 px (mini) and 16 px (micro) |
| License | MIT, no attribution needed | MIT |
| Official packages | React, Vue, Web Components, Icon font, Flutter, SwiftUI, Jetpack Compose and Android | React, Vue |
Heroicons figures were counted in heroicons 2.2.0 on npm on 3 November 2026. Xerobi Icons figures are from version 0.4.3.
When Heroicons is the better pick
You build with Tailwind CSS, need a small, carefully tuned core set, and want icons drawn for exact pixel sizes.
When Xerobi Icons is the better pick
Heroicons covers 324 concepts; Xerobi Icons covers 6,054, so you rarely hit a missing icon. You also get thin, light, bold and duotone weights and native mobile packages. See how the six weights work or install it for your platform.
Switching to Xerobi Icons
Install the package for your platform, then replace icons screen by screen. Search the icon browser by the concept rather than the old name, because names differ between sets, and keep one weight per screen so the result looks consistent. Every icon has its own page with code for each platform, like the house icon.
Frequently asked questions
Is Xerobi Icons a free alternative to Heroicons?
Yes. Xerobi Icons is free and open source under the MIT license, with 6,054 icons in six weights and packages for React, Vue, Flutter, SwiftUI and Jetpack Compose. You can use it in commercial work without credit.
How many icons does Heroicons have compared with Xerobi Icons?
Heroicons has 324 icons (1,288 SVG files, counted in heroicons 2.2.0 on npm on 3 November 2026). Xerobi Icons has 6,054 icons, or 36,324 SVG files across six weights.
Can I use Xerobi Icons and Heroicons together?
You can, since both are free to use, but mixed sets rarely match in stroke and corner style. Xerobi Icons is large enough that most products can use it alone.