Skip to main content
The Testimonials section displays a scrolling marquee of user reviews to build social proof. File Location: src/components/marketing/testimonials.tsx

How to Customize

Customizing the testimonials section involves editing the heading, managing the testimonial data, and adjusting the animation.

Editing the Section Heading

The main heading and subheading are hardcoded at the top of the component’s return statement. Find the following code and change the text to match your brand’s voice.
src/components/marketing/testimonials.tsx

Managing Testimonial Data

Testimonial content is managed through the testimonials array at the top of the file. Each object in the array represents one testimonial card and must conform to the Testimonial TypeScript interface.

Understanding the testimonials Array

id
number
A unique identifier for the testimonial, used as a key for React rendering.
name
string
The name of the person giving the testimonial.
title
string
The job title of the person.
company
string
The company the person works for.
image
string
The URL for the person’s avatar image.
content
string
The main body of the testimonial text.
highlight
string
A short, highlighted snippet that appears at the end of the content.

Example: Modifying a Testimonial

src/components/marketing/testimonials.tsx

Customizing the Marquee Animation

The scrolling animation is handled by the Marquee component from Magic UI. You can adjust its speed and the number of columns displayed.

Adjusting Animation Speed

The speed of the marquee is controlled by a CSS custom property --duration. A higher value results in a slower animation. You can change this directly on the Marquee component.
src/components/marketing/testimonials.tsx

Changing Column Distribution

The component displays testimonials across three columns, which are defined by slicing the main testimonials array. You can change how many testimonials appear in each column by adjusting the .slice() method.
src/components/marketing/testimonials.tsx