React View Transition
Animate views as they mount/unmount.
https://jossmac.github.io/react-view-transition
import TransitionProvider from 'react-view-transition'; const Slider = views <TransitionProvider> views </TransitionProvider>;SliderdefaultProps = views: key: 'first' label: 'First View' key: 'second' label: 'Second View' key: 'third' label: 'Third View' ;
Note
This is intentionally a very simple component. For a more fully featured "carousel" style solution please see https://github.com/souporserious/react-view-pager.