how to create smooth scrolling using html and css in reactjs code example Example: smooth scroll react $ npm install react-scroll