Skip to content

Quote Carousel

A smooth auto-rotating testimonial carousel with elegant quote marks and pulsing navigation dots.

Embed this component

Paste this snippet into any site — the design renders in a sandboxed iframe served from /embed/quote-carousel.

<iframe src="/embed/quote-carousel" sandbox="allow-scripts" loading="lazy" title="Quote Carousel" style="border:0;width:100%;height:480px;overflow:hidden"></iframe>

Implementation code

Copy the HTML and CSS for Quote Carousel. The HTML and CSS variants are self-contained; framework variants assume that framework's project setup.

HTML
<div class="testimonial-card">
  <span class="quote-mark">"</span>
  <div class="quote-stars">★★★★★</div>
  <p class="quote-text">
    "This component library completely changed how we ship UI.
    The quality is unmatched and the copy-paste workflow is a game changer."
  </p>
  <div class="quote-author">
    <div class="author-avatar">JD</div>
    <div>
      <div class="author-name">Jane Doe</div>
      <div class="author-role">CTO at Acme Inc.</div>
    </div>
  </div>
</div>
CSS
.testimonial-card {
  position: relative;
  max-width: 360px;
  padding: 30px 26px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.12);
}

.quote-mark {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 64px;
  line-height: 1;
  font-family: Georgia, serif;
  color: #8b5cf6;
  opacity: 0.25;
}

.quote-stars {
  color: #f59e0b;
  font-size: 15px;
  margin-bottom: 14px;
  text-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

.quote-text {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

.quote-author { display: flex; align-items: center; gap: 12px; margin-top: 18px; }

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.35);
  flex-shrink: 0;
}

.author-name { font-size: 13px; font-weight: 700; color: #fff; }
.author-role { font-size: 11px; color: rgba(255, 255, 255, 0.4); }

Where Quote Carousel fits

  • Social Proof
  • Reviews
  • Client Stories

Topics

  • #testimonial
  • #carousel
  • #quotes
  • #reviews