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@fortawesome/react-fontawesome 319 changes
Breaking changes 5
Given props now override spread props.
Browsers that do not support ES2020 are no longer supported.
Support for FontAwesome versions below v6 was dropped.
Support for Node versions below 20.x was dropped.
Support for React versions below 18.x was dropped.
Deprecations 2
Adds a deprecation notice to the title prop.
Adds a deprecation notice to the titleId prop.
New APIs and options 4
Adds new canvas options for configuring canvas behavior in the React Font Awesome integration.
Adds support for new animations introduced in Font Awesome v7.3.0.
Supports custom gradient fills for Font Awesome icons.
Exports the CSSVariables type for consumption by users.
Performance 2
A full rewrite delivers significant performance increases of approximately 70%.
Per-render function calls and memory allocations were reduced to optimise the component.
Tooling 1
Each prop has improved type definitions, with examples of usage.
Fixes and other changes 5
Supports environments where process is defined but process.env is undefined.
Custom role attributes on SVGs are allowed again, restoring behavior from previous versions.
SSR titleId and maskId generation now produces consistent IDs across server and client renders.
aria-hidden is false when a non-empty aria-label attribute is present.
Fixed TypeScript errors when styling duotone icons with CSS variables.