A Lightweight React component for smooth scrolling anchors in React, tied to URL hash.
- Land on the correct anchor when the page is loaded, based on URL hash value.
- Scroll smoothly to anchors when URL hash changes. Easy links to sections with
- URL hash updates automatically to reflect section in view
- Option to record history on hash changes
npm install –save react-scrollable-anchor
Live Demo: View The Demo
Download Link: Download The Source Code
Official Website: https://github.com/gabergg/react-scrollable-anchor