
Security News
Deno 2.4 Brings Back deno bundle, Improves Dependency Management and Observability
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
react-scroll-progress-read
Advanced tools
When you scroll on the page, the bar indicate the progression on the page.
Doc : https://react-scroll-progress-read.faramazpat.now.sh/
npm package : https://www.npmjs.com/package/react-scroll-progress-read
Version 16.8 for use React Hook
import ScrollProgressRead from 'react-scroll-progress-read';
...
render() {
<div>
<ScrollProgressRead />
....
</div>
}
By default, the bar take the window height. If you want target an html element, you must indicate the ID of the element in props with "target"
You can change parameter with the props :
The props aren't required.
if not ref target, the component use target ID and if target is undefined, the component use the document.
import ScrollProgressRead from 'react-scroll-progress-read';
...
render() {
<div>
<ScrollProgressRead
backgroundColor="#CCC"
barColor="#FFCC00"
height="5px"
target="read-container"
refTarget={refContainer}
/>
....
</div>
}
FAQs
Progress Bar for show position of scroll page
The npm package react-scroll-progress-read receives a total of 123 weekly downloads. As such, react-scroll-progress-read popularity was classified as not popular.
We found that react-scroll-progress-read demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.