About this set
Testimonials drawn as speech bubbles, so the tail shows who is speaking. Each one is a figure: the bubble is a blockquote and the person is a figcaption. Quote bubbles with the avatar below is a three-column grid of short customer quotes, each with a tail pointing down at a round photo, a name and a role. Side bubble with a quote mark and rating places a large photo beside an outlined bubble with a rotated-square tail that shares the outline, a decorative opening quote mark and a five-star rating written out as Rated 5 out of 5. On narrow screens the person moves under the bubble and the tail turns to point down at them. Press quote with a cited source sets a magazine line in Georgia on a dark bubble with a corner tail, puts the publication in a cite element, adds the source URL to the blockquote’s cite attribute and links to the full review. Use the grid for a row of customer quotes, the side bubble for one featured quote, and the press quote for coverage from a named source.
What’s included
- figure, blockquote and figcaption markup for each testimonial
- Tails that point from the quote to the person
- Outlined bubble whose tail moves below on narrow screens
- Star rating written out as text
- Press quote with a cite element and cite attribute
Accessibility
Quotes are blockquote elements inside figures, so the quote and the person are announced together. Avatar photos have empty alt text because the name sits next to them, the stars are hidden and the rating is written as text, and the large quote mark is decorative. The review link shows a 2px focus outline and all text reaches at least 4.5:1.
Customise it
Change --qb-bg, --qb-accent, --qb-line and --qb-t on .qb for bubble colour, accent, outline and tail size; the press bubble overrides --qb-bg in .qb-tint. In Tailwind edit the --color-qb-* theme colours; Bootstrap uses the same variables with .blockquote, .rounded-circle and .row.






