unstale

npm / @fortawesome/react-fontawesome

@fortawesome/react-fontawesome

What changed in @fortawesome/react-fontawesome 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

5 breaking2 deprecations4 new APIs and options2 performance1 tooling5 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@fortawesome/react-fontawesome 319 changes

Breaking changes 5

  • Given props now override spread props.

    3.2.0release notes

  • Browsers that do not support ES2020 are no longer supported.

    3.0.0release notes

  • Support for FontAwesome versions below v6 was dropped.

    3.0.0release notes

  • Support for Node versions below 20.x was dropped.

    3.0.0release notes

  • Support for React versions below 18.x was dropped.

    3.0.0release notes

Deprecations 2

New APIs and options 4

  • Adds new canvas options for configuring canvas behavior in the React Font Awesome integration.

    3.5.0release notes

  • Adds support for new animations introduced in Font Awesome v7.3.0.

    3.4.0release notes

  • Supports custom gradient fills for Font Awesome icons.

    3.3.0release notes

  • Exports the CSSVariables type for consumption by users.

    3.2.0release notes

Performance 2

  • A full rewrite delivers significant performance increases of approximately 70%.

    3.0.0release notes

  • Per-render function calls and memory allocations were reduced to optimise the component.

    3.0.0release notes

Tooling 1

  • Each prop has improved type definitions, with examples of usage.

    3.0.0release notes

Fixes and other changes 5

  • Supports environments where process is defined but process.env is undefined.

    3.2.0release notes

  • Custom role attributes on SVGs are allowed again, restoring behavior from previous versions.

    3.1.1release notes

  • SSR titleId and maskId generation now produces consistent IDs across server and client renders.

    3.0.0release notes

  • aria-hidden is false when a non-empty aria-label attribute is present.

    3.0.0release notes

  • Fixed TypeScript errors when styling duotone icons with CSS variables.

    3.0.0release notes