Just a quick demo how to use autoplay feature in Swiper React.
$ npm install
$ npm run build && npm start
Assuming you already have your swiper up and running, add this to turn on autoplay:
import { Autoplay } from 'swiper';
import 'swiper/css/autoplay';
<Swiper
modules={[Autoplay]}
autoplay={{ delay: 1000 }}
// Alternative with 3sec default timeout:
// autoplay={true}
>
{/* Add slides here */}
</Swiper>