A Lightweight React component for smooth scrolling anchors in React, tied to URL hash.
Features:
- 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
<a href='#sectionId'>
. - URL hash updates automatically to reflect section in view
- Option to record history on hash changes
Installation:
npm install –save react-scrollable-anchor
Preview:
Download Details:
Author: gabergg
Live Demo: View The Demo
Download Link: Download The Source Code
Official Website: https://github.com/gabergg/react-scrollable-anchor
License: MIT