iamgbayer / horizontable

Horizontable is a React component to scroll with mouse wheel and drag horizontally.

Home Page:https://horizontable.surge.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Horizontable

Horizontable is a React component to scroll with mouse wheel, drag, and touch events horizontally

How use

<div className="parent">
  <Horitonzable>
    <div className="children">
      <div>Scroll me 😍</div>
      <div>Drag me 😎</div>
      <div>Scroll me πŸŽ‰</div>
    </div>
  </Horitonzable>
</div>

See demo

Roadmap

  • tests
  • prop to lock drag, touch, and scroll events
  • animation

License

MIT Β© Guilherme Bayer

About

Horizontable is a React component to scroll with mouse wheel and drag horizontally.

https://horizontable.surge.sh

License:MIT License


Languages

Language:JavaScript 90.4%Language:HTML 9.6%