File: src/blocks/testimonials/Testimonials03.astro
Single featured quote with attribution. Config key is testimonialsSingle.
Config (blocks.ts → testimonialsSingle)
testimonialsSingle: {
width: "standard",
quoteSize: "displaySm", // sm, lg, displaySm, eyebrow, display, base, xs
quote:
"Finally a developer who speaks design. Every component was thoughtful, documented, and easy for us to extend.",
name: "Sarah Chen",
role: "Founder, Northline Studio",
},
Add to a page
---
import Testimonials03 from "@/blocks/testimonials/Testimonials03.astro";
---
<Testimonials03 />
Props override matching keys from config:
<Testimonials03
width="wide"
/>
Props
| Prop | Config key | Type / values | Default / notes |
|---|---|---|---|
width |
testimonialsSingle.width |
standard | narrow | wide |
Wrapper max-width |
quoteSize |
testimonialsSingle.quoteSize |
Text variant token (e.g. displaySm, lg) |
Typography variant for the quote |
quote |
testimonialsSingle.quote |
string |
— |
name |
testimonialsSingle.name |
string |
— |
role |
testimonialsSingle.role |
string |
— |
Also include: TestimonialCard.astro (attribution layout).
