Question: Could someone advice me on how to integrate FontAwesome 5 **Pro** with React?

I know there are packages @fortawesome/react-fontawesome and for example @fortawesome/fontawesome-free-regular but is there a way how to include **pro version** of icons?

When I log in to FontAwesome website, I can download the pro-version JS but I guess that's of no use in React.

Answer: 
You must use a TOKEN to access Font Awesome Pro via NPM.
========================================================

Manually downloading the icons and installing them locally is an anti-pattern and not the way the Font Awesome team expects you to use Font Awesome Pro with Node and NPM.

Accessing to the Pro packages requires you to configure the @fortawesome scope to use the Font Awesome Pro NPM registry using your **TOKEN** which can be found in your Font Awesome account settings.

1. **Login to see your token**: <https://fontawesome.com/account/services>
2. **Navigate to this step-by-step tutorial** after logging in and it will contain your token in all the examples: <https://fontawesome.com/how-to-use/on-the-web/setup/using-package-managers#installing-pro>
3. **Install react-fontawesome** and follow the examples to render icons: <https://github.com/FortAwesome/react-fontawesome>

**Note:** If you're looking to use Font Awesome Pro in **React Native**, check out: [react-native-fontawesome-pro](https://github.com/shyaniv7/react-native-fontawesome-pro)
OK, I solved it myself. What I did was to import `@fortawesome/react-fontawesome`. Then I manually downloaded the pro package of FontAwesome and from the folder `/advanced-options/use-with-node-js/fontawesome-pro-light` I copied desired icons (there are JS files such as `faUsers.js`) to my project folder and included these icons as well.

So at the beginning of the file I have something like

```
import FontAwesomeIcon from '@fortawesome/react-fontawesome';
import faUser from '../font-awesome/faUser';

```

Then I used it

```
render() {
    return() (
         ...
         <FontAwesomeIcon icon={faUser} />
         ...
    );
}

```

It's a little bit annoying because I need to manually import every single icon but I couldn't think of any better solution.