Testimonials Posts
Masonry wall of social-post cards in 1–3 CSS columns: initials avatar, name and handle, post text, date and like count. Hairline cards, centered header.
minimal/section/testimonials-postsSource
import { cn } from "@/lib/utils";
export interface TestimonialsPostsItem {
name: string;
handle: string;
text: string;
date: string;
likes?: number;
}
export interface TestimonialsPostsProps {
eyebrow?: string;
title?: string;
posts?: TestimonialsPostsItem[];
className?: string;
}
const DEFAULT_POSTS: TestimonialsPostsItem[] = [
{
name: "Maya Chen",
handle: "mayacodes",
text: "Tracewise paged me at 3am, I acked from my watch, rolled back from Slack and was asleep by 3:14. Genuinely the best on-call experience I’ve had.",
date: "Sep 12",
likes: 842,
},
{
name: "Jonas Ortega",
handle: "jortega",
text: "Hot take: the AI postmortem draft is better than most humans write at 10am the next day.",
date: "Sep 3",
likes: 311,
},
{
name: "Alia Karim",
handle: "aliak_sre",
text: "Moved 38 schedules off our old tool in an afternoon. tracewise.yaml in a PR, reviewed, merged, done. 🫡",
date: "Aug 28",
likes: 207,
},
{
name: "Ben Foster",
handle: "benfoster",
text: "The fairness report made our night-page imbalance visible for the first time. Two people were carrying 70% of it. Fixed in one sprint.",
date: "Aug 19",
likes: 529,
},
{
name: "Sofia Lind",
handle: "sofialind",
text: "Status page went degraded 40 seconds after the monitor fired. Customers noticed our update before they noticed the outage.",
date: "Aug 11",
likes: 188,
},
{
name: "Kwame Mensah",
handle: "kwame_dev",
text: "Alert grouping turned a flapping disk check from 212 pages into 1 incident. I could cry.",
date: "Jul 30",
likes: 1204,
},
{ name: "Lea Martin", handle: "leamartin", text: "Tracewise is one of the rare tools where the Slack bot is actually pleasant.", date: "Jul 22", likes: 96 },
];
function Avatar({ name }: { name: string }) {
const hue = [...name].reduce((a, c) => a + c.charCodeAt(0), 0) % 3;
return (
<span
aria-hidden
className={cn(
"grid size-9 shrink-0 place-items-center rounded-full text-[13px] font-medium",
hue === 0 && "bg-da-accent text-da-accent-fg",
hue === 1 && "bg-da-muted text-da-fg",
hue === 2 && "bg-da-primary text-da-primary-fg",
)}
>
{name
.split(" ")
.map((p) => p[0])
.join("")}
</span>
);
}
/** Masonry wall of social-post cards (avatar, handle, text, date, likes) in 1–3 CSS columns. */
export function TestimonialsPosts({
eyebrow = "Wall of love",
title = "Engineers sleep better on Tracewise",
posts = DEFAULT_POSTS,
className,
}: TestimonialsPostsProps) {
return (
<section aria-labelledby="testimonials-posts-title" className={cn("da-section bg-da-bg text-da-fg", className)}>
<div className="da-container">
<div className="mx-auto max-w-2xl text-center">
<p className="font-da-mono text-xs text-da-accent-fg">{eyebrow}</p>
<h2 id="testimonials-posts-title" className="mt-3 text-[clamp(1.875rem,4vw,2.75rem)] leading-[1.1] font-semibold tracking-da-display text-balance">
{title}
</h2>
</div>
<ul className="mt-12 gap-4 [column-fill:_balance] sm:columns-2 lg:columns-3">
{posts.map((p) => (
<li key={p.handle} className="mb-4 break-inside-avoid">
<article className="da-stroke rounded-da-lg bg-da-surface p-5 text-da-surface-fg shadow-da-sm">
<header className="flex items-center gap-3">
<Avatar name={p.name} />
<div className="min-w-0 text-sm leading-tight">
<p className="truncate font-medium">{p.name}</p>
<p className="truncate text-da-muted-fg">@{p.handle}</p>
</div>
</header>
<p className="mt-4 text-[15px] leading-relaxed">{p.text}</p>
<footer className="mt-4 flex items-center gap-4 font-da-mono text-[11px] text-da-muted-fg">
<time>{p.date}</time>
{p.likes !== undefined && <span>♥ {p.likes.toLocaleString("en-US")}</span>}
</footer>
</article>
</li>
))}
</ul>
</div>
</section>
);
}
export default TestimonialsPosts;
modules/minimal/section/testimonials-posts/index.tsx
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow / title | string | — | Header copy. |
| posts | { name, handle, text, date, likes? }[] | — | Posts. |
| className | string | — | Classes on the section. |
Other testimonials variants in Minimal
Testimonials Carousel
One large quote at a time with initials avatar and role, cross-fading between slides; progress dots, a 01 / 04 counter and round prev/next buttons, arrow-key navigation.
Testimonials Case Studies
Three case-study cards led by an oversized mono metric in indigo (−71% pages), a short quote, author and a Read the story link that makes the whole card clickable.
Testimonials Grid
Asymmetric testimonial grid: one large featured quote with a headline metric, flanked by two compact quotes, then a second row. Hairline cards, initials avatars, no logos needed.
Testimonials in other art directions
Testimonials Big Quote
Full-bleed blue section showing one giant uppercase quote at a time with a tilted yellow metric card, author row, pressable prev/next buttons and bar-shaped pagination.
Testimonials Logos
Case-study strip: four ruled cells, each with a company wordmark, a giant result number, its label and a one-line quote, alternating solid and paper tones.
Testimonials Posts
Social-post wall: ruled cards styled like timeline posts (square colored avatar, handle, date, casual copy, reply/repost/like counts) in a 3-column grid with a 'see more' CTA.
Testimonials Wall
Wall of quote cards in alternating solid colors with hard shadows, initials avatars and optional rotated metric stickers ("2× adoption").
Testimonials Deck
Stacked deck of glass testimonial cards offset in depth; a ‘Next story’ button sends the top card to the back and the others slide forward, with a live counter.
Testimonials Marquee
Two rows of frosted testimonial cards scrolling infinitely in opposite directions with faded edges, pause on hover, star rating summary above. A static sr-only list carries the content for assistive tech.
Testimonials Masonry
Rating summary pill (stars, 4.9/5, review count) above a masonry wall of glass quote cards with star ratings; one highlight card is filled with the brand gradient.
Testimonials Video
Three video-testimonial glass cards with gradient posters, initials, play button and duration; opening one expands a glass player panel above with headline, quote and author.
Testimonials Grid
Hairline grid of short quotes (gap-px on a border-colored background) — 3 columns desktop, each cell with the quote and mono attribution; no cards, no shadows.
Testimonials List
Testimonials as an editorial ruled list: each row pairs a mono index + name/studio/city on the left with the quote on the right in a larger size; rows separated by hairlines.
Testimonials Marquee
Slow horizontal ticker of short quotes in large display type, separated by signal dots, between two ink rules; pauses on hover, static and wrapped with reduced motion. Pure CSS.
Testimonials Quote
One oversized pull quote set in the display face with a hanging opening quote mark, mono attribution under a short ink rule; lots of whitespace.
Testimonials Cards
Clean 3-column grid of bordered quote cards with company name header, quote, and initials avatar + role footer divided by a hairline.
Testimonials Case Study
Featured customer story: bordered card split into a company quote (logo wordmark, quote, author) and a tinted column of three big result metrics with a “Read the case study” link.
Testimonials Logos
Row of customer wordmark buttons acting as tabs; selecting one swaps the quote, author and key metric below.
Testimonials Ratings
Review-site proof: rating tiles per platform (score + stars + review count), a row of award badges, and two review excerpts.
Testimonials Carousel
Gentle one-at-a-time carousel on a sage band: serif quote cross-fades, round prev/next buttons, leaf-shaped position dots; no autoplay.
Testimonials Notes
Kind words as handwritten-feeling notes: slightly tilted paper/sage/clay cards with italic serif quotes and a small “pinned” dot, straightening on hover.
Testimonials Portrait
Single large testimonial: an arch-shaped sage “portrait” with big initials and a leaf, next to a large serif quote, attribution and a clay result chip.
Testimonials Wall
Masonry wall of soft rounded quote cards in mixed tints (CSS columns), each with a small leaf-dot avatar, name and role.
Testimonials Bubbles
Testimonials as a friendly group chat: alternating pastel speech bubbles with round avatars and names inside a big white phone-like card, next to the section title.
Testimonials Notes
Wall of pastel sticky notes, slightly rotated with a round periwinkle pin on top, each holding a bold short quote and author; notes straighten on hover.
Testimonials Slider
Horizontal slider of pastel testimonial cards with star ratings; round prev/next buttons move one card at a time and pill dots show the position.
Testimonials Spotlight
One big quote on a mint block with a giant quote mark, a flat shape avatar, three white stat bubbles and a row of customer wordmarks below.