Testimonial card component for displaying guest reviews and feedback. Includes 5-star rating, quote text, author name with avatar, and date. Based on the canonical mockup design.
Default review card with all sections.
"An absolutely magical experience! The cabin was spotless, the forest surroundings were breathtaking, and the kids had the time of their lives."
Multiple review cards in a responsive grid (3 columns on desktop, 2 on tablet, 1 on mobile).
"An absolutely magical experience! The cabin was spotless, the forest surroundings were breathtaking, and the kids had the time of their lives."
"Perfect getaway from the city. The BBQ area was fantastic, and we spent every evening grilling and watching the sunset. Highly recommend!"
"We've stayed at many vacation rentals, but this was exceptional. The attention to detail, the peaceful atmosphere – simply perfect."
Single review card markup ready to copy and customize.
<figure class="review-card">
<div class="review-card__rating" aria-label="5 out of 5 stars">
<span>★</span>
<span>★</span>
<span>★</span>
<span>★</span>
<span>★</span>
</div>
<blockquote class="review-card__quote t-body t-muted" style="line-height: var(--line-height-relaxed);">
"Your guest's quote goes here. Keep it authentic and highlight positive aspects of their stay."
</blockquote>
<figcaption class="review-card__author-section">
<div class="review-card__avatar">👩</div>
<div class="review-card__author-info">
<div class="t-body t-semibold">Guest Name</div>
<time datetime="YYYY-MM" class="t-small t-muted">Month Year</time>
</div>
</figcaption>
</figure>
Wrap multiple review cards in a responsive grid container.
<div class="review-cards-grid">
<figure class="review-card">
<!-- First review card -->
</figure>
<figure class="review-card">
<!-- Second review card -->
</figure>
<figure class="review-card">
<!-- Third review card -->
</figure>
</div>
<figure>,
<blockquote>, <figcaption>
<time datetime="YYYY-MM"> for semantic date
markup
<div> for ratings
All styling for this component is defined in:
/assets/css/ui/views/review-card.css
This file is imported by
/assets/css/ui-system.css
@import url('./ui/views/review-card.css');