Files
import type { TestimonialType } from "@/components/testimonial-list"
import { TestimonialList } from "@/components/testimonial-list"
export function Testimonials01() {
return (
<div className="flex flex-col gap-2 [&_.rfm-initial-child-container]:items-stretch! [&_.rfm-marquee]:items-stretch!">
<TestimonialList data={TESTIMONIALS_1} />
<TestimonialList data={TESTIMONIALS_2} direction="right" />
</div>
)
}
// Demo avatars only. Replace them with your own URLs.
const TESTIMONIALS_1: TestimonialType[] = [
{
authorAvatar: "/brand/avatar.png",
authorName: "Alex Chen",
authorTagline: "Frontend Engineer",
url: "https://x.com/example/status/1",
quote:
"Clean components and clear docs. I shipped a landing page in a weekend.",
},
{
authorAvatar: "/brand/avatar.png",
authorName: "Priya Nair",
authorTagline: "Design Lead",
url: "https://x.com/example/status/2",
quote:
"The defaults look right in both light and dark mode, so we stopped fighting the styles.",
},
{
authorAvatar: "/brand/avatar.png",
authorName: "Sam Ortiz",
authorTagline: "Product Designer",
url: "https://x.com/example/status/3",
quote: "Every block fits together without custom overrides.",
},
{
authorAvatar: "/brand/avatar.png",
authorName: "Jordan Lee",
authorTagline: "Staff Engineer",
url: "https://x.com/example/status/4",
quote:
"The registry is the easiest way I have found to share a design system across teams.",
},
]
const TESTIMONIALS_2: TestimonialType[] = [
{
authorAvatar: "/brand/avatar.png",
authorName: "Maya Thompson",
authorTagline: "Engineering Manager",
url: "https://x.com/example/status/5",
quote: "My team prototyped three pages in a single afternoon.",
},
{
authorAvatar: "/brand/avatar.png",
authorName: "Daniel Park",
authorTagline: "Developer Advocate",
url: "https://x.com/example/status/6",
quote: "Copy, paste, done. The examples are honest and actually runnable.",
},
{
authorAvatar: "/brand/avatar.png",
authorName: "Lena Fischer",
authorTagline: "UI Designer",
url: "https://x.com/example/status/7",
quote: "Accessible markup that still looks sharp, which is rare.",
},
{
authorAvatar: "/brand/avatar.png",
authorName: "Omar Haddad",
authorTagline: "Software Engineer",
url: "https://x.com/example/status/8",
quote: "I keep coming back to these blocks for client work.",
},
]A testimonials section with dual marquees
@yourname/testimonials-01