Blocks
Strip Wipe
A testimonial slider whose photo wipes in as tiled strips beside the quote.
A ready-made testimonial block. A split slider shows a photo that wipes in as tiled strips, with the quote fading in beside it and the index ticking with Number Flow. Prev wipes right to left, next wipes left to right. Hover pauses the loop. Driven by GSAP.
“Before using this platform, our team was drowning in repetitive tasks across tools and spreadsheets. After setup, most daily updates now run automatically and our team finally has time for strategic work.”
Installation
pnpm dlx shadcn@latest add @tween-ui/strip-wipeUsage
import StripWipe from '@/components/tweenui/testimonial/strip-wipe';
export default function Page() {
return <StripWipe />;
}Pass your own quotes to make it yours. Set directional={false} to keep the
original right-to-left split on every change:
import StripWipe from '@/components/tweenui/testimonial/strip-wipe';
const testimonials = [
{
id: 'maya',
image: '/photos/maya.jpg',
imageAlt: 'Maya, operations lead',
quote: 'Handoffs used to live in three chats. Now the pipeline updates itself.',
},
{
id: 'jon',
image: '/photos/jon.jpg',
imageAlt: 'Jon, founder',
quote: 'We shipped the first automation in an afternoon and never looked back.',
},
];
export default function Page() {
return <StripWipe testimonials={testimonials} directional={false} />;
}Props
| Prop | Type | Default | Description |
|---|---|---|---|
testimonials | TestimonialSlide[] | 4-slide sample | Quotes shown in the split slider. |
directional | boolean | true | Prev wipes right-to-left, next left-to-right. false keeps the original split. |
Each TestimonialSlide is { id, image, imageAlt, quote }. Extends native
<section> attributes (className, style, …).
Accessibility
Previous and next controls are real buttons with an aria-label and a visible
focus ring. Hover pauses autoplay. Under prefers-reduced-motion: reduce the
loop does not run and the photo tiles snap into place with no wipe.