ComponentsMarketing

Testimonial

Single-quote testimonial with name and role. Pair with the stats section for maximum social proof.

Preview

"Finally, a static site generator that feels like Python, not a templating language."

Our marketing team ships pages in minutes instead of days. The build is fast enough that preview URLs feel instant.

Alex RiveraStaff Engineer at Acme

Code

from nitro_ui import Div, H2, Paragraph, Span, Section


def Testimonial():
    return Section(
        Div(
            Div(
                Div(
                    H2(
                        '"Finally, a static site generator that feels like Python, '
                        'not a templating language."',
                        cls="quote-text",
                    ),
                    Paragraph(
                        "Our marketing team ships pages in minutes instead of days. "
                        "The build is fast enough that preview URLs feel instant.",
                        cls="quote-sub",
                    ),
                    Div(
                        Span("Alex Rivera", cls="testimonial-name"),
                        Span("Staff Engineer at Acme", cls="testimonial-role"),
                        cls="testimonial-author",
                    ),
                    cls="quote-card-inner",
                ),
                cls="quote-card",
            ),
            cls="container",
        ),
        cls="quote-section",
    )