Testimonial Carousel

A quote carousel that advances by itself, pauses on hover, and can be dragged between customers.

My landing page finally looks expensive.

Maya K. · Founder

Build a testimonial carousel section. Structure: a light card opening with a large accent quotation mark, then the quote, and a byline row: a small initial-avatar disc (dark, monospace letter), name in bold, role in muted. Under everything, pagination dots. Auto-advance: the carousel moves to the next quote every ~3.2 seconds. Hovering pauses it; leaving resumes. (If this lives in a grid of previews, disable auto-advance there and advance only on click.) Transition: the outgoing quote slides out ~46px in the travel direction while fading; the incoming one slides in from the opposite side, on a spring (stiffness ~340, damping ~30). Direction-aware: moving forward slides left, backward slides right. Drag: the quote block is draggable horizontally with elastic resistance; releasing past a ~40px threshold commits to the next/previous quote, otherwise it snaps back. Show a grab cursor. Dots: the active dot stretches into a 16px accent pill (width transition 0.3s); others stay 6px muted dots. Dots are clickable. Accessibility: dots are buttons with labels and aria-pressed; under prefers-reduced-motion there is no auto-advance and swaps are instant. Colors as tokens: paper, ink, muted, one accent. Three short believable quotes, no lorem. Build the component, not this demo of it. - Ambient motion that IS the component may loop: a drifting background, a marquee, a spinner while something is genuinely loading. - Do not add any timer, interval, loop or script that performs a person's action by itself. No auto-hover, no auto-click, no cycling through states, no pretend submitting, no replaying the interaction on a schedule. - Every state that answers a person waits for a real event from that person. - Placeholder copy and sample content are welcome. Simulated behaviour is not.

Rate it
0
0

We'd like to measure how the site gets used, with Google Analytics. It sets cookies. Everything the site needs to work runs either way. How we handle data