Skip main navigation
We use cookies to give you a better experience, if that’s ok you can close this message and carry on browsing. For more info read our cookies policy.
We use cookies to give you a better experience. Carry on browsing if you're happy with this, or read our cookies policy for more information.

Pattern Library
Testimonial

The Testimonial module is used to highlight a testimonial from an individual or external organisation.

The module has the following fields: quote (required), source name (required), source description, image URL, image alt text, source avatar image URL

Optionally, a Testimonial may have an image associated with it. Usually the image will fill the width of the module, but a `small-img` variant is available for partner logos, where a smaller, fixed size is needed.

%figure.m-testimonial.m-testimonial--small-img
  .m-testimonial__image-container
    %img.m-testimonial__image{alt: "M&S", src: "https://ugc.futurelearn.com/styleguide/molecules/testimonial-logo.svg"}
  %blockquote.m-testimonial__quote
    %p.a-quotes
      We're delighted to have been able to share the fantastic M&S innovation with so many people. The course was a great way to engage worldwide and bring our rich heritage to life. The enthusiasm from learners exceeded our expectations and we were delighted to work with FutureLearn and the University of Leeds on this course.
  %figcaption.m-testimonial__source
    .m-media-element.m-media-element--compact
      .m-media-element__image
        .m-testimonial__avatar.a-avatar.a-avatar--large.a-avatar--bubble
          %img{alt: "Alison Houston", src: "/assets/workplace-learning/photos/alison-houston-acddf444117ffa1df9f8d9af6096fa9afe7c70ecda5314e9af8527d75557e2f6.jpg"}
      %p.m-media-element__body
        %strong
          Alison Houston
        %br
        Head of M&S Archive and University Partnership