Testimonials
Scroll customer quotes in two rows that move in opposite directions. reversed turns the second row around, and pause-on-hover holds a card still for reading.
A low speed keeps long quotes readable. align-items: stretch on ::part(track) gives every card in a row the same height.
Reduced Motion
Your system is set to reduce motion. The rows do not move, and you can scroll them by hand.
Loved by teams everywhere
We moved our onboarding to it in a week. New hires now find answers without asking.
The reports used to take a full day. Now they are ready before the morning stand-up.
Support answered within minutes, on a Sunday. That sold the whole team.
Setup took one afternoon, and we have not touched the config since.
The pricing is clear, and it grows with us instead of against us.
Our customers noticed the faster pages before we told them.
Code
The following example assumes that you have imported the component and set up the theme.
<div class="testimonials">55 collapsed lines
<h2>Loved by teams everywhere</h2>
<sv-marquee fade pause-on-hover speed="30"> <figure> <blockquote> We moved our onboarding to it in a week. New hires now find answers without asking. </blockquote> <figcaption> <strong>Mira Okafor</strong> Head of People, Fernway </figcaption> </figure> <figure> <blockquote> The reports used to take a full day. Now they are ready before the morning stand-up. </blockquote> <figcaption> <strong>Daniel Reyes</strong> Analyst, Brightloop </figcaption> </figure> <figure> <blockquote> Support answered within minutes, on a Sunday. That sold the whole team. </blockquote> <figcaption> <strong>Aiko Tanaka</strong> Founder, Quill Studio </figcaption> </figure> </sv-marquee>
<sv-marquee fade pause-on-hover reversed speed="30"> <figure> <blockquote>Setup took one afternoon, and we have not touched the config since.</blockquote> <figcaption> <strong>Priya Nair</strong> CTO, Tidewell </figcaption> </figure> <figure> <blockquote>The pricing is clear, and it grows with us instead of against us.</blockquote> <figcaption> <strong>Samuel Osei</strong> Operations, Corvid </figcaption> </figure> <figure> <blockquote>Our customers noticed the faster pages before we told them.</blockquote> <figcaption> <strong>Elena Petrova</strong> Product Manager, Meridian </figcaption> </figure> </sv-marquee></div>
<style>45 collapsed lines
.testimonials { display: grid; gap: 1.25em;
h2 { margin: 0 0 0.5em; font-size: 1.5rem; text-align: center; }
sv-marquee { --sv-marquee-gap: 1.25rem;
&::part(track) { align-items: stretch; } }
figure { display: grid; grid-template-rows: 1fr auto; gap: 1em; inline-size: 18rem; padding: 1.25em; margin: 0; background-color: var(--sv-gray-6); border: var(--sv-bdr-sz-sm) solid var(--sv-gray-5); border-radius: var(--sv-bdr-rad-lg); }
blockquote { margin: 0; line-height: 1.5; }
figcaption { font-size: 0.85rem; color: var(--sv-gray-2);
strong { display: block; color: var(--sv-gray-0); } } }</style>