1.0.4 • Published 8 months ago
react-scroll-spyy v1.0.4
ScrollSpy React Component
A simple and customizable ScrollSpy React component that highlights navigation links based on the user's scroll position. This component allows you to track sections on a page and smoothly scroll to them when clicked.
Features
- Highlights navigation links when their corresponding section is in view.
- Smooth scrolling to sections when clicking on navigation links.
- Customizable active link class.
- Supports dynamic sections and can track visibility based on the scroll position.
- Easily configurable for any project or page structure.
Installation
To install the package, run the following command:
npm install scrollspy-react