# What changed in heroicons

> 6 changes in heroicons 2 from its official release notes, upgrade guides and advisories: 5 breaking, 1 new APIs and options. Each one cited. Sources checked 2026-11-30. HTML: https://unstale.sh/npm/heroicons/

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

## heroicons 2

### Breaking changes

- React imports for Solid icons now use explicit size-and-style paths; the former @heroicons/react/solid path is replaced by @heroicons/react/20/solid. (2.0.0) — [release notes](https://github.com/tailwindlabs/heroicons/releases/tag/v2.0.0)
- React imports for Outline icons now use explicit size-and-style paths; the former @heroicons/react/outline path is replaced by @heroicons/react/24/outline. (2.0.0) — [release notes](https://github.com/tailwindlabs/heroicons/releases/tag/v2.0.0)
- Vue imports for Solid icons now use explicit size-and-style paths; the former @heroicons/vue/solid path is replaced by @heroicons/vue/20/solid. (2.0.0) — [release notes](https://github.com/tailwindlabs/heroicons/releases/tag/v2.0.0)
- Vue imports for Outline icons now use explicit size-and-style paths; the former @heroicons/vue/outline path is replaced by @heroicons/vue/24/outline. (2.0.0) — [release notes](https://github.com/tailwindlabs/heroicons/releases/tag/v2.0.0)
- Many icons were renamed to more literal names describing what the icon is. Update imports to the new names; examples include mail to envelope and search to magnifying-glass. (2.0.0) — [release notes](https://github.com/tailwindlabs/heroicons/releases/tag/v2.0.0)

### New APIs and options

- Heroicons v2.0 introduces Outline, Solid, and Mini styles. Outline uses a 1.5px stroke in a 24px view box; Solid uses filled shapes in a 24px view box; Mini uses filled shapes in a 20px view box. (2.0.0) — [release notes](https://github.com/tailwindlabs/heroicons/releases/tag/v2.0.0)
