In order to use Font Awesome Version 6 you'll need to upgrade the Font Awesome files used by the component of your choice.
For a nice upgrade experience we recommend using npm-check-updates.
If you prefer to use plain vanilla npm, you can run the built in
npm update command from the directory where your
package.json file lives.
For more information on updating a package using npm check out the official docs.
Yarn has the
yarn upgrade command for updating your packages.
Check out the official Yarn documentation for more information about upgrading your files.