Skip to content

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-posts
Open ↗

Source

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

PropTypeDefaultDescription
eyebrow / titlestring—Header copy.
posts{ name, handle, text, date, likes? }[]—Posts.
classNamestring—Classes on the section.

Other testimonials variants in Minimal

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.

BrutalistTestimonials

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.

BrutalistTestimonials

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.

BrutalistTestimonials

Testimonials Wall

Wall of quote cards in alternating solid colors with hard shadows, initials avatars and optional rotated metric stickers ("2× adoption").

BrutalistTestimonials

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.

GlassTestimonials

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.

GlassTestimonials

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.

GlassTestimonials

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.

GlassTestimonials

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.

Mono CleanTestimonials

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.

Mono CleanTestimonials

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.

Mono CleanTestimonials

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.

Mono CleanTestimonials

Testimonials Cards

Clean 3-column grid of bordered quote cards with company name header, quote, and initials avatar + role footer divided by a hairline.

Neo CorporateTestimonials

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.

Neo CorporateTestimonials

Testimonials Logos

Row of customer wordmark buttons acting as tabs; selecting one swaps the quote, author and key metric below.

Neo CorporateTestimonials

Testimonials Ratings

Review-site proof: rating tiles per platform (score + stars + review count), a row of award badges, and two review excerpts.

Neo CorporateTestimonials

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.

Organic SoftTestimonials

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.

Organic SoftTestimonials

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.

Organic SoftTestimonials

Testimonials Wall

Masonry wall of soft rounded quote cards in mixed tints (CSS columns), each with a small leaf-dot avatar, name and role.

Organic SoftTestimonials

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.

Soft FlatTestimonials

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.

Soft FlatTestimonials

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.

Soft FlatTestimonials

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.

Soft FlatTestimonials