Testimonials Ratings
Review-site proof: rating tiles per platform (score + stars + review count), a row of award badges, and two review excerpts.
neo-corporate/section/testimonials-ratingsSource
import { Star } from "lucide-react";
import { cn } from "@/lib/utils";
export interface TestimonialsRatingsProps {
title?: string;
ratings?: { platform: string; score: string; reviews: string }[];
badges?: string[];
reviews?: { title: string; text: string; name: string; role: string }[];
className?: string;
}
function Stars({ label }: { label: string }) {
return (
<span role="img" aria-label={label} className="flex gap-0.5 text-da-warning">
{Array.from({ length: 5 }, (_, i) => (
<Star key={i} aria-hidden className="size-4 fill-current" />
))}
</span>
);
}
/** Review-site proof: rating tiles per platform (score + stars + review count), a row of award badges, and two review excerpts. */
export function TestimonialsRatings({
title = "Rated #1 for accounts receivable automation",
ratings = [
{ platform: "G2", score: "4.8", reviews: "1,240 reviews" },
{ platform: "Capterra", score: "4.9", reviews: "860 reviews" },
{ platform: "TrustRadius", score: "9.4/10", reviews: "310 reviews" },
],
badges = ["Leader · Fall 2026", "Best ROI · Mid-market", "Easiest setup", "Best support"],
reviews = [
{
title: "“Finally, AR that runs itself”",
text: "Reminders, portal and reconciliation all work together. We cut DSO by three weeks.",
name: "Verified user",
role: "Controller · Mid-market",
},
{
title: "“The best onboarding I’ve had”",
text: "Our CSM mapped our NetSuite fields on day one and we were live in ten days.",
name: "Verified user",
role: "Finance Manager · Enterprise",
},
],
className,
}: TestimonialsRatingsProps) {
return (
<section aria-labelledby="nc-ratings-title" className={cn("da-section bg-da-bg text-da-fg", className)}>
<div className="da-container">
<h2
id="nc-ratings-title"
className="mx-auto max-w-2xl text-center font-da-display text-[clamp(1.75rem,4vw,2.5rem)] leading-tight font-extrabold tracking-da-display text-balance"
>
{title}
</h2>
<ul className="mx-auto mt-10 grid max-w-4xl gap-4 sm:grid-cols-3">
{ratings.map((r) => (
<li key={r.platform} className="da-stroke flex flex-col items-center rounded-da-lg bg-da-surface p-6 text-center text-da-surface-fg">
<p className="text-sm font-semibold text-da-muted-fg">{r.platform}</p>
<p className="mt-2 font-da-display text-4xl font-extrabold tracking-da-display">{r.score}</p>
<div className="mt-2">
<Stars label={`Rated ${r.score} on ${r.platform}`} />
</div>
<p className="mt-2 text-sm text-da-muted-fg">{r.reviews}</p>
</li>
))}
</ul>
<ul className="mt-8 flex flex-wrap justify-center gap-2" aria-label="Awards">
{badges.map((b) => (
<li key={b} className="rounded-da-md bg-da-accent px-3 py-1.5 text-sm font-semibold text-da-accent-fg">
{b}
</li>
))}
</ul>
<ul className="mx-auto mt-10 grid max-w-4xl gap-4 md:grid-cols-2">
{reviews.map((r) => (
<li key={r.title} className="rounded-da-lg bg-da-surface-2 p-6">
<figure>
<Stars label="5 out of 5 stars" />
<p className="mt-3 font-da-display font-bold">{r.title}</p>
<blockquote className="mt-2 text-[15px] text-da-muted-fg">{r.text}</blockquote>
<figcaption className="mt-4 text-sm">
<span className="font-semibold">{r.name}</span> · <span className="text-da-muted-fg">{r.role}</span>
</figcaption>
</figure>
</li>
))}
</ul>
</div>
</section>
);
}
export default TestimonialsRatings;
modules/neo-corporate/section/testimonials-ratings/index.tsx
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | — | Heading. |
| ratings | { platform: string; score: string; reviews: string }[] | — | Ratings. |
| badges | string[] | — | Badges. |
| reviews | { title: string; text: string; name: string; role: string }[] | — | Reviews. |
| className | string | — | Extra classes on the root. |
Other testimonials variants in Neo Corporate
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 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 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 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.
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 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.