
Security News
New CVE Forecasting Tool Predicts 47,000 Disclosures in 2025
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
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 132 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
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.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.