One strong customer quote, set large and centered between thin rules. It works as a pull quote inside a long article, a testimonial between sections of a landing page, or a closing statement in a case study. Because it uses no image, it fits any content column and loads instantly.
How it works
The root div uses border-y border-slate-200 to draw a rule above and below, generous py-10 spacing and text-center. A paragraph holds a large serif quotation mark (font-serif text-6xl leading-none text-indigo-300) as an opening ornament; h-8 trims the empty line space below the glyph. The quote itself is a blockquote limited to max-w-2xl and centered with mx-auto; its paragraph is text-xl sm:text-2xl font-medium leading-relaxed. The attribution follows as two paragraphs: a bold name and a muted role with company.
Customization
- Change the quotation mark color
text-indigo-300to match your brand. - Remove
border-yfor a borderless quote, or usebg-slate-50 rounded-2xlfor a panel. - Make the quote smaller with
text-lg sm:text-xlfor sidebars. - Align left by removing
text-centerandmx-auto. - Add an avatar paragraph with an
imgabove the name.
Accessibility
The quote uses a real blockquote element, so assistive technology announces it as a quotation. The decorative quotation mark is a single character and does not change the meaning. Name and role are plain text, and all colors meet WCAG AA; text-indigo-300 is only used for the ornament.
Usage notes
The block contains no custom CSS or JavaScript, only Tailwind CSS v4 utility classes, so it can be pasted into any page, template or CMS field where Tailwind is loaded. All text sits in paragraphs, headings and list items, so every word stays editable. It is also part of the WDS Editor snippet library: enable it with snippets: { framework: 'tailwind' } and insert it from the Testimonials group in the block picker.