Skip to content
Viewership Inquire
Astro UI

Testimonial Cards.

Quotes as an even row of cards with optional star ratings and initials avatars.

ProofSectionNo dependencies Original, MIT

.md

Heard on the trail.

  • We outfit twelve students a year. The fleet plan paid for itself in the first term.

    Tom Hendry Outdoor education lead
  • Boring answer: it works. Exciting answer: it works in sideways rain.

    Sam Whitlock Weekend camper
  • Heavier than the ultralight brands, and I have stopped caring.

    Ines Park Thru-hiker
Style

Using Claude Code? Give it the agent prompt and skip these steps.

  1. Import the foundation once

    foundation.css holds the tokens every component reads.

    Layout.astro
    ---
    // src/layouts/Layout.astro
    import "../styles/foundation.css";
    ---
  2. Copy TestimonialCards.astro

    Paste into src/components/viewership/testimonial-cards/

  3. Use it

    Page.astro
    ---
    import TestimonialCards from "../components/viewership/testimonial-cards/TestimonialCards.astro";
    ---
    
    <TestimonialCards />

Props 4

PropTypeDefaultDescription
title string · Optional section headline.
accent string · Closing words of the headline.
items { quote: string; name: string; role?: string; rating?: number }[] · Quotes. Three fill a row.
as "h2" | "h3" "h2" Heading element.

Source 1 file

Original, MIT.