Skip to content

Testimonials Chat

Customer quotes laid out as a group chat: alternating left (graphite, bordered) and right (secondary pill) message bubbles with tail corners, colored initials, names and roles.

nocturne/section/testimonials-chat
Open ↗

Source

import { cn } from "@/lib/utils";

export interface TestimonialsChatItem {
  quote: string;
  name: string;
  role: string;
  initials: string;
  tone?: "primary" | "accent" | "success" | "warning";
}

export interface TestimonialsChatProps {
  title?: string;
  description?: string;
  items?: TestimonialsChatItem[];
  className?: string;
}

const TONES = {
  primary: "bg-da-primary text-da-primary-fg",
  accent: "bg-da-accent text-da-accent-fg",
  success: "bg-da-success text-da-success-fg",
  warning: "bg-da-warning text-da-warning-fg",
} as const;

const DEFAULT_ITEMS: TestimonialsChatItem[] = [
  { quote: "I stopped digging through Slack. I just ask Nova what we decided and it links me to the exact thread.", name: "Maya Chen", role: "Head of Product, Parcel", initials: "MC", tone: "primary" },
  { quote: "Onboarding a new engineer used to take two weeks of ‘ask Leo’. Now it's a conversation with Nova on day one.", name: "Leo Martins", role: "Staff Engineer, Tidewell", initials: "LM", tone: "accent" },
  { quote: "The release-notes agent writes 90% of our changelog. We just fix the jokes.", name: "Sara Okafor", role: "PM, Brightside", initials: "SO", tone: "success" },
  { quote: "It feels like chatting with the most organized person on the team. Who never sleeps.", name: "Tom Dubois", role: "CEO, Fieldnote", initials: "TD", tone: "warning" },
];

/** Customer quotes laid out as a group chat: alternating left/right message bubbles with colored initials, names and roles. */
export function TestimonialsChat({
  title = "Teams talk about Nova the way they talk to it",
  description = "A few messages from the people who use it every day.",
  items = DEFAULT_ITEMS,
  className,
}: TestimonialsChatProps) {
  return (
    <section className={cn("da-section", className)}>
      <div className="da-container">
        <div className="mx-auto max-w-2xl text-center">
          <h2 className="font-da-display text-3xl font-semibold tracking-da-display text-balance sm:text-4xl">{title}</h2>
          <p className="mt-3 text-da-muted-fg">{description}</p>
        </div>
        <ol className="mx-auto mt-12 flex max-w-3xl flex-col gap-6">
          {items.map((t, i) => {
            const mine = i % 2 === 1;
            return (
              <li key={t.name} className={cn("flex items-end gap-3", mine && "flex-row-reverse")}>
                <span aria-hidden className={cn("grid size-9 shrink-0 place-items-center rounded-full font-da-display text-xs font-semibold", TONES[t.tone ?? "primary"])}>
                  {t.initials}
                </span>
                <figure className={cn("flex max-w-[85%] flex-col gap-1.5 sm:max-w-[75%]", mine && "items-end")}>
                  <blockquote
                    className={cn(
                      "px-5 py-3 text-[15px] leading-relaxed",
                      mine ? "rounded-da-lg rounded-br-da-sm bg-da-secondary" : "da-stroke rounded-da-lg rounded-bl-da-sm bg-da-surface",
                    )}
                  >
                    <p>{t.quote}</p>
                  </blockquote>
                  <figcaption className="px-1 text-xs text-da-muted-fg">
                    <span className="font-medium text-da-fg">{t.name}</span> · {t.role}
                  </figcaption>
                </figure>
              </li>
            );
          })}
        </ol>
      </div>
    </section>
  );
}

export default TestimonialsChat;

modules/nocturne/section/testimonials-chat/index.tsx

Props

PropTypeDefaultDescription
title / descriptionstring—Heading copy.
items{ quote, name, role, initials, tone? }[]—Quotes; tone ∈ primary | accent | success | warning.

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 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.

MinimalTestimonials

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.

MinimalTestimonials

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.

MinimalTestimonials

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.

MinimalTestimonials

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