
Number Counter
Text
A one-at-a-time testimonial slider that moves through customer quotes with Previous and Next buttons, autoplay and line-by-line quote transitions.
Testimonial Swiper shows one testimonial at a time: a large quote whose lines slide in from a mask, a greyscale portrait, the name and title, and a 01 / 05 counter. Previous and Next buttons change the quote, and autoplay advances it every 4.5 seconds by default. The five testimonials are hard-coded in the source; edit that array to use your own.
Use it when testimonials are equal-weight proof items. The Previous and Next buttons are real, labelled buttons that work with the keyboard; there is no swipe or drag gesture, and only the current quote is in the DOM at any time. The page job is social proof, not a hiding place for the quote that closes the sale.
The thing to watch is optional proof. If a testimonial is critical to conversion, show it statically or in a grid instead of hiding it behind rotation.
import TestimonialSwiper from '@/components/effects/testimonial-swiper' const page = () => { return ( <> <TestimonialSwiper/> </> )}export default pageA SaaS landing page can use Testimonial Swiper for several short customer quotes when the controls stay visible and the strongest proof is also shown without interaction. Autoplay does not pause on hover, focus or touch, so set autoplay={false} if visitors need time to read.
Not for the one testimonial that closes the sale, long proof stories, or evidence users must compare before converting.
Optimise the portrait images; only the current one is rendered. Autoplay keeps running while the section is offscreen, hovered or focused, and stops only when autoplay is false or reduced motion is on, so turn it off where that matters.
The Previous and Next buttons are labelled (Previous testimonial, Next testimonial), keyboard-operable and disabled during a transition, and a 01 / 05 counter gives current-slide context. There is no swipe gesture, no pause control and no live region. Below 1024px the buttons move above the header and the portrait sits beside the name under the quote. With reduced motion enabled, autoplay is off and quotes change with an opacity fade instead of sliding lines. On mobile, consider a stacked proof section when quotes become long.
| Prop | Type | Default | Description |
|---|---|---|---|
autoplay | boolean | true | Automatically advances testimonials. |
autoplayDelay | number | 4500 | Delay between testimonial changes in milliseconds. Needs Autoplay on. |
showNavigation | boolean | true | Shows previous/next controls. |
imageSize | number | 1 | Scale multiplier for the testimonial images. |
Autoplay is on by default and advances every 4.5 seconds (autoplayDelay, minimum 1 second). It stops for reduced motion but does not pause on hover, focus or touch, so set autoplay={false} when user control matters more than constant motion.
Use a grid when every testimonial matters, users need to compare proof, or the quotes are long.
The current quote renders as a real blockquote with the name and title as visible text, but only one testimonial is in the DOM at a time, so do not rely on the others being crawlable. Do not render important proof only inside a canvas or client-only state.
Yes. A custom version should define content structure, accessibility behavior, motion rules, reduced-motion behavior, source handoff, and implementation notes for the specific page job.
Need a custom effect? Tell us what to create.