react-scroll yarn code example Example: react-scroll $ npm install react-scroll # or yarn $ yarn add react-scroll