Icons

Heroicons vs Phosphor

Heroicons and Phosphor Icons are two of the most widely used open-source icon sets. Both are free, both ship framework packages, and both will look perfectly reasonable in a product UI — which is exactly why the choice is annoying. This page puts the two side by side using the actual artwork and the real numbers.

The short answer

  • Phosphor Icons is the broader set: 9,198 icons against 1,297 in Heroicons — roughly 609% more coverage, which matters most if you build interfaces that need unusual glyphs.
  • Phosphor Icons gives you more visual range: 6 variants per concept (thin, light, regular, bold, fill and duotone), where Heroicons ships 2.
  • Both are MIT, so licensing is not a deciding factor here.

Specifications compared

Specification comparison
 HeroiconsPhosphor Icons
Icons1,2979,198
Visual variants per concept2 — outline and solid6 — thin, light, regular, bold, fill and duotone
Design grid16/20/2424×24
LicenseMITMIT
Attribution requiredNoNo
Official React package@heroicons/reactphosphor-react

Same icons, both libraries

Every pair below is the same concept rendered from each library's own source files. This is the part you cannot get from a written review — the difference in stroke weight, corner rounding and optical size is the thing you will actually notice in your interface.

HeroiconsPhosphor Icons 
home
search
user
heart
star
cart
bell
calendar
download
trash

Which one should you choose?

Pick Heroicons when

Tailwind CSS projects of any size, and teams that want their icons styled with the same utilities as the rest of their markup. The three drawn sizes also make Heroicons a good fit for interfaces with a strict type and spacing scale.

Consider otherwise if: Outside the Tailwind ecosystem the utility-class ergonomics matter less, and Lucide or Tabler give you more icons. For dense 15px-scale interfaces, Radix Icons is drawn specifically for that.

Pick Phosphor Icons when

Design systems, products with strong visual hierarchy, and teams that want one library to cover every context. The weight range also solves the common problem of outline icons disappearing on coloured or photographic backgrounds.

Consider otherwise if: If you only need one weight, the six-weight structure is overhead you will not use — Lucide or Tabler are simpler. If you want duotone plus a premium aesthetic, compare Solar and Huge Icons.

Coverage

Heroicons contains 1,297 icons and Phosphor Icons contains 9,198. Heroicons is made by the team behind Tailwind CSS, and it is designed to drop straight into Tailwind projects. The 1,297 icons ship in outline and solid variants, each available at 16px, 20px, and 24px — three sizes that are drawn separately rather than scaled, so optical weight stays correct at each one.

Phosphor is built around a single idea: one icon family that works at every weight. Each of its 9,198 icons is available in six weights — Thin, Light, Regular, Bold, Fill, and Duotone — so you can express hierarchy, hover state, and emphasis without ever leaving the library.

Licensing

Heroicons is released under MIT. Commercial use, modification and redistribution with no attribution required.

Phosphor Icons is released under MIT. Commercial use, modification and redistribution with no attribution required.

Using them from IconStash

You do not have to commit to one. IconStash indexes both libraries, so you can search a concept once and see how each set drew it, then export SVG or PNG at any size and colour. Start with Heroicons or Phosphor Icons, or browse every library comparison.

Frequently asked questions

Is Heroicons or Phosphor better for React projects?

Both have first-party React packages: @heroicons/react and phosphor-react. Heroicons has the smaller catalogue, so for a React app the practical difference is coverage and visual style rather than integration effort. Both tree-shake, so bundle size tracks the number of icons you import, not the size of the library.

Which has more icons, Heroicons or Phosphor?

Heroicons has 1,297 icons and Phosphor Icons has 9,198. Phosphor Icons is larger by about 609%. Raw count is not the whole story though — a 20,000-icon set with many near-duplicate variants can be slower to search than a tightly edited 2,000-icon set.

Can I mix Heroicons and Phosphor in one interface?

You can, but it usually looks wrong. Each library draws to its own grid and stroke weight — Heroicons uses 16/20/24 and Phosphor uses 24×24 — so icons from both sit slightly differently next to each other. If you must mix them, keep each library to a distinct area of the interface rather than interleaving them in the same toolbar.

What licenses do Heroicons and Phosphor use?

Heroicons is MIT: Commercial use, modification and redistribution with no attribution required. Phosphor Icons is MIT: Commercial use, modification and redistribution with no attribution required. Neither requires payment, but attribution rules differ, so check before shipping in a product where credit is inconvenient.

Do Heroicons and Phosphor include filled and outline versions?

Heroicons offers outline and solid; Phosphor Icons offers thin, light, regular, bold, fill and duotone. If you need to express selected and unselected states with the same glyph, the library with more variants saves you from importing a second set.

Which is better for small sizes like 16px?

At 16px, stroke weight and counter size matter more than coverage. Heroicons draws on a 16/20/24 grid and Phosphor on 24×24. Libraries that redraw per size rather than scaling — such as Fluent UI — generally hold up best. The reliable test is to preview both at your actual render size, which you can do on any icon page on IconStash.