castellonsoft Logo castellonsoft
Docs / Testimonials

Testimonials

The Testimonials component uses a marquee effect (infinite horizontal scroll) to display reviews.

Usage

import Testimonials from '~/components/sections/Testimonials.astro';
import Testimonial from '~/components/ui/Testimonial.astro';

<Testimonials title="What people say">
  <Testimonial
    quote="This product is amazing!"
    author="Jane Doe"
    role="Developer"
    avatar="https://example.com/jane.jpg"
  />
</Testimonials>

Example

Loved by Companies

""

A
Alex Morgan
Frontend Lead

""

D
David Kim
Founder

""

S
Sarah Jenkins
UI Designer

* Estos testimonios son datos ficticios para fines de demostración.

Props

Testimonials

PropTypeDefaultDescription
titlestringundefinedOptional heading. Defaults to “Loved by Companies”.
descriptionstringundefinedOptional subtext.

Testimonial

PropTypeDefaultDescription
quotestringRequiredThe testimonial text.
authorstringRequiredName of the reviewer.
rolestringRequiredJob title or company.
avatarstringRequiredURL of the avatar image.