
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
flowscrollbar
Advanced tools
A customizable React scrollbar component that supports both vertical and horizontal scrolling with drag functionality.
A customizable React scrollbar component that supports both vertical and horizontal scrolling with drag functionality.
You can install this package via npm:
npm i flowscrollbar
import React from "react";
import Scrollbar from "flowscrollbar";
function App() {
return (
<Scrollbar height={300} width={500} onScrollYEnd={() => console.log("Reached Y end!")}>
<div style={{ width: "800px", height: "600px" }}>
{/* Your scrollable content here */}
<p>Scrollable Content...</p>
</div>
</Scrollbar>
);
}
export default App;
| Prop | Type | Description |
|---|---|---|
height | number | Sets the height of the scrollbar container. |
width | number | Sets the width of the scrollbar container. |
style | object | Custom styling for the scrollbar track and thumb. |
onScrollYEnd | func | Callback when vertical scrolling reaches the end. |
onScrollXEnd | func | Callback when horizontal scrolling reaches the end. |
beforeEndOffset | number | Offset before triggering onScrollYEnd or onScrollXEnd. |
onScroll | func | Callback triggered on scroll events. |
Contributions are welcome! Feel free to submit a pull request or open an issue.
Developed by Akshay Soni
FAQs
A customizable React scrollbar component that supports both vertical and horizontal scrolling with drag functionality.
We found that flowscrollbar demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.