Quote/Testimonial Card

Build trust and credibility by showcasing customer feedback in this elegantly designed testimonial card template.

This layout is essential for any marketing or product page to provide social proof and let satisfied customers sell for you.

Screenshot of three quote and testimonial cards in a responsive grid.

Get Source Code Preview

About this Component

A well-presented testimonial can be a powerful conversion tool. This component frames a customer's quote in a clean, professional manner, complete with their name, role, and avatar. The use of semantic HTML makes the content clear not only to browsers but also to search engines and accessibility devices.

Features

Code Breakdown

HTML Structure

The entire card is wrapped in a figure element, which is the standard for self-contained content like a quote. A decorative svg quote icon is placed at the top for visual effect and marked with aria-hidden="true" to be ignored by screen readers. The quote itself is placed inside a blockquote element. Finally, all the attribution details (avatar, name, role) are wrapped in a figcaption element, which semantically links that information to the main quote.

CSS Styling

The card container (.cards-grid-container) uses CSS Grid to handle the responsive column layout. Each card (.qt-card) is styled with display: flex and flex-direction: column. This flexible structure is what enables the cards to maintain an equal height within a row. By setting flex-grow: 1 on the blockquote element, we force it to expand and take up any available vertical space, which pushes the figcaption neatly to the bottom of the card.

Code

Here's the complete, self-contained code. The example shows three cards, and you can easily copy and paste the figure block to add more testimonials.

View Output