# What changed in @heroicons/react

> 4 changes in @heroicons/react 2 from its official release notes, upgrade guides and advisories: 3 breaking, 1 new APIs and options. Each one cited. Sources checked 2026-10-27. HTML: https://unstale.sh/npm/@heroicons/react/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @heroicons/react 2

### Breaking changes

- The React package uses more explicit import paths for icon styles; this path imports the 20px solid style. (2.0.0) — [release notes](https://github.com/tailwindlabs/heroicons/releases/tag/v2.0.0)
- The React package uses more explicit import paths for icon styles; this path imports the 24px outline style. (2.0.0) — [release notes](https://github.com/tailwindlabs/heroicons/releases/tag/v2.0.0)
- Many icons have new, more literal names, so applications upgrading from v1 may need to update their imports; for example, mail is now envelope and search is now magnifying-glass. (2.0.0) — [release notes](https://github.com/tailwindlabs/heroicons/releases/tag/v2.0.0)

### New APIs and options

- A third icon style is introduced: solid icons with filled shapes, drawn in a 20px view box. (2.0.0) — [release notes](https://github.com/tailwindlabs/heroicons/releases/tag/v2.0.0)
