react-scroll-slider

1.0.1 • Public • Published

react-scroll-slider

React-scroll-slider is a component that triggers slides replacing by scroll event. Active slide indexes are provided by context provider and passed to active alaments that can be animated with css transitions. Each slide can have different number of active elements thus it's possible to add multiple animated elements with different animations. It's possible to add forward/backward animations depending on if slide is going to be rendered or going to be hidden.

Demo is here

Roadmap

  • Add examples of usage with code samples
  • Storybook for showcases
  • Support for swipe events
  • Implement hosizontal slide scrolling
  • Tests

Installation

To install package

npm i --save react-scroll-slider

or

yarn add react-scroll-slider

/react-scroll-slider/

    Package Sidebar

    Install

    npm i react-scroll-slider

    Weekly Downloads

    17

    Version

    1.0.1

    License

    ISC

    Unpacked Size

    1.76 MB

    Total Files

    52

    Last publish

    Collaborators

    • vitaliizhukov