Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

179
Views
How to make swiper.js react move 1 slide at a time?

How can I make the slider move one slide at time when the left/right arrow buttons are clicked?

I can't see in the docs how to achieve this.

Example: show 5 slides, move 1 slide at a time.

            <Swiper
                modules={[Pagination, Navigation, A11y]}
                navigation
                onSlideChange={() => console.log('slide change')}
                onSwiper={swiper => console.log(swiper)}
                pagination={{ clickable: true }}
                breakpoints={{
                    768: {
                        width: 768,
                        slidesPerView: 1,
                    },
                    1200: {
                        width: 1200,
                        slidesPerView: 2,
                    },
                }}
            >
                {slides}
            </Swiper>
        
about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!