integrating smooth scrolling with react code example Example: smooth scroll react $ npm install react-scroll