Testimonial cards for the block editor: three customer reviews with five-star ratings, round portrait avatars, names and roles on a warm light background.
Also known as: gutenberg testimonial block, wordpress testimonials section, customer review cards, client testimonials with photos
These testimonial cards with avatars are a WordPress block pattern for showing three customer reviews side by side, each with a five-star rating line, the quote, a round portrait, the customer's name and role. It works as a client testimonials section or review cards block on service, agency and small business sites, and it uses only core Gutenberg blocks, so the text and photos are edited directly in the block editor.
How it works
The outer full-width Group sets a warm light gray background (#faf8f5), 104px vertical padding and a 1160px content width. A centered eyebrow, h2 and intro paragraph introduce the section. A Columns block holds three Column cards with a white background, a subtle border and 16px rounded corners. Inside each card a paragraph shows the stars, a second paragraph holds the quote, and a flex Group with a top border line places a 52px round Image next to a vertical Group with the name and role. On phones the cards stack with even spacing. The portraits are from Unsplash; replace them with photos of your own customers (with their permission).
How to use it
Copy the block markup with the copy button.
In the block editor, click into an empty paragraph and paste; WordPress turns the markup into blocks.
Replace the quotes, names, roles and portraits (select an Image, then Replace in the toolbar).
Customization
Section background: select the outer Group, Color > Background, #faf8f5.
Card style: select a Column, Color > Background #ffffff, Border > Color #ebe5dc, Width 1px, Radius 16px.
Card padding: Column > Dimensions > Padding, 36px top and bottom, 32px left and right.
Star color: select the star paragraph, Color > Text, #d97706; delete a star character to show a four-star review.
Quote text: select the quote paragraph, Typography > Font size 17px, Line height 1.7.
Avatar size and shape: select an Image, Dimensions > Width and Height 52px, Border > Radius 999px for a circle.
Divider above the author: select the author Group, Border > top, Color #f0ebe4, Width 1px.
Eyebrow color: Color > Text #a16207 on the "Client stories" paragraph.
Use cases
Accounting, legal and consulting firms: let clients describe the result in their own words.
Agencies and studios: show reviews from named clients next to their portraits.
Local service businesses: add social proof near the contact or booking section.
SaaS and app landing pages: place short customer quotes under the pricing table.
Accessibility
Each portrait has descriptive alt text with the person's name. The star line is plain text, so screen readers read the characters; for clearer output, add the rating in words (for example "Rated 5 out of 5") or keep the stars as a visual extra next to it. Text colors meet WCAG AA contrast on the white cards, and the stacked mobile layout keeps the reading order quote, then author.
Can I use the Testimonial Cards with Avatars code for free?
Yes. You can copy or download the block markup and use it in personal and commercial projects, including client work. No sign-up is needed. Reselling it as part of a component library or template collection is not allowed; see the license.
How do I add it to my WordPress site?
Copy the block markup, open a page in the block editor, click into an empty paragraph and paste. WordPress turns it into regular blocks that you can edit like any other content. You can also paste it in the Code editor view (Options menu > Code editor).
Does it need a page builder or plugin?
No. The pattern is built only from core blocks such as Group, Columns, Heading, Image and Buttons, so it works without Elementor, Spectra, Kadence or any other plugin. Colors and spacing are set on the blocks themselves; headings and text use your theme's fonts.
Will it look the same in my theme?
The layout, colors and spacing come with the blocks, so they carry over. Fonts, link styles and the content width follow your theme, so small differences are normal. The live demo shows the pattern in the default Twenty Twenty-Five theme. It works best with block themes; in classic themes the block editor still renders it, with your theme's styles.
Does it work on mobile?
Yes. The layout adapts to small screens. Use the Mobile and Tablet buttons above the live demo to check it at phone and tablet width.
How to install
Copy the block markup above.
Open a page or post in the WordPress block editor, click into an empty paragraph and paste. The editor turns the markup into blocks.
Replace the sample text and images. To reuse it, select the blocks and choose Create pattern from the block toolbar menu.
Uses only core WordPress blocks, so no plugin is needed. Tested with WordPress 6.8 and later. Fonts come from your theme; the live demo uses the default Twenty Twenty-Five theme. WebDevSnippets is not affiliated with or endorsed by the WordPress Foundation.
Testimonial Cards with Avatars · WordPress Testimonials
A Shopify section for customer quotes with star ratings, avatars and linked products, shown as a grid or a scrolling row with previous and next buttons.