scrollbun
v1.1.0
Published
React component for horizontal scrolling
Downloads
16
Readme
Scrollbun
Scrollbun is a lightweight and customizable React component that allow you effortlessly create horizontal scrolling container for your app.
Installation
To install dependencies:
npm install scrollbun
bun install scrollbun
Usage
Here's an example of usage:
import Scrollbun from 'scrollbun'
function App() {
return (
<Scrollbun style={{ width: '500px' }}>
<div style={{ width: '500px', height: '300px' }} />
<div style={{ width: '500px', height: '300px' }} />
</Scrollbun>
)
}
Props
Contributors ✨
LICENSE
MIT
This project was created using bun init
in bun v1.0.0. Bun is a fast all-in-one JavaScript runtime.