React Scrollable Anchor Component

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 <a href='#sectionId'>.
  • URL hash updates automatically to reflect section in view
  • Option to record history on hash changes


npm install –save react-scrollable-anchor


React Scrollable Anchor Component

Download Details:

Author: gabergg

Live Demo: View The Demo

Download Link: Download The Source Code

Official Website:

License: MIT

You Might Be Interested In:

Add Comment