Skip to content

Testimonial

Builds on Quote for the quotation itself and adds the person, an Avatar (initials when there is no image), an optional star rating and an optional company logo. Testimonials stretch to fill their grid cell so a row of them lines up.

Samla got us to a working prototype in a day.

Jane Doe

Product lead

Every page matched the last one without us policing it.

Jamie Ellis

Design lead

We swapped a few tokens and the whole site took on our brand.

Alex Morgan

Front-end developer

  • quote, name: required
  • role: shown under the name
  • image: avatar image; initials are used without one
  • rating: star rating above the quote
  • variant: quiet, outline (default), solid
  • size: regular (default) or large, which centres the content and enlarges the quote
  • logo slot: a company logo above the quote
<Testimonial
quote="Samla got us to a working prototype in a day."
name="Jane Doe"
role="Product lead"
image="/images/jane.jpg"
rating={5}
/>
Variants

Every page matched the last one.

Jamie Ellis

Design lead

Every page matched the last one.

Jamie Ellis

Design lead

Every page matched the last one.

Jamie Ellis

Design lead

size="large" with a logo

Samla got us to a working prototype in a day.

Jane Doe

Product lead