Testimonials
A testimonial deck that rolls each quote in like a drum, beside a contact call to action whose jigsaw pieces snap together as you reach for it.
1 variantProNew
Preview
Preview
Installation
Testimonials is part of Floret Pro. It follows Floret's theme tokens, so light and dark mode work out of the box.
Floret ProPro
Your license unlocks this block and all of its source. Sign in once, then install it with the CLI. Follow the steps below.
Sign in with your license
Paste the key from your purchase email. Once per computer.
pnpm dlx @shipped-ui/floret login <license-key>Add Testimonials
The CLI checks your license, then copies the source with every dependency and theme token.
pnpm dlx @shipped-ui/floret add testimonials
Already bought? Manage your license
Get ProUsage
Pass your own data and wire the callbacks to your app.
import { CalendarDays, Mail } from "lucide-react";
import { Testimonials } from "@/components/blocks/testimonials/testimonials";
export function Words() {
return (
<Testimonials
testimonials={[
{
id: "ava",
name: "Ava Lindqvist",
role: "Founder",
company: "Northwind",
image: "/people/ava.jpg",
companyLogo: { src: "/logos/northwind.svg", monochrome: true, aspectRatio: 2.3 },
quote: "They picked up what we were building within a day and kept raising the bar.",
},
// …at least three, so there is a card above and below the open one
]}
ctaTitle="Pieces are connecting. Your move?"
links={[
{ label: "Book a call", href: "https://cal.com/you", icon: <CalendarDays /> },
{
label: "you@example.com",
href: "mailto:you@example.com",
icon: <Mail />,
hideIconWhenActive: true,
copy: "you@example.com",
},
]}
/>
);
}Props
| Prop | Type | Default | Description |
|---|---|---|---|
| testimonials* | Testimonial[] | — | The quotes. Three or more keeps a card above and below the open one. |
| links* | ContactLink[] | — | Contact links under the call to action. The first one starts open. |
| heading | string | — | Optional line above the section. |
| ctaTitle | string | "Pieces are connecting. Your move?" | Call to action set inside the jigsaw. |
| autoplayMs | number | 4800 | Time each quote stays open. 0 turns autoplay off; it also pauses off-screen and after a manual move. |
| className | string | — | Classes for the section. |
type Testimonial = {
id: string;
name: string;
role: string;
company: string;
image?: string; // initials are shown when missing
companyLogo?: { src: string; monochrome?: boolean; aspectRatio?: number };
quote: string;
};
type ContactLink = {
label: string;
href: string;
icon: React.ReactNode;
hideIconWhenActive?: boolean; // let a long label (an email) take the icon's place
copy?: string; // adds a copy button for this text
};