Testimonial Carousel
Travellers, in their words — one at a time, or two or three on wider screens.
Preview
Sample testimonials — the words of no real guest.
Usage
tsx
import { TestimonialCarousel } from "zostel-ui";
<TestimonialCarousel
columns={1}
testimonials={[
{ author: "Aditi", location: "Pune", avatarUrl: "/brand/zobu/pfp-02.png", rating: 5, content: "Came alone, left with friends." },
]}
/>Props
| Prop | Type | Default | Description |
|---|---|---|---|
testimonials | { author; content; rating; avatarUrl?; location?; date? }[] | — | Real words from real guests only. |
columns | 1 | 2 | 3 | 1 | How many show at once on wider screens. |
className | string | — | More classes, merged with the component’s own (tailwind-merge). |
testimonialsType:
{ author; content; rating; avatarUrl?; location?; date? }[]Default: —
Real words from real guests only.
columnsType:
1 | 2 | 3Default:
1How many show at once on wider screens.
classNameType:
stringDefault: —
More classes, merged with the component’s own (tailwind-merge).
Samples
The amounts, ratings and reviews in these demos are samples, not offers — the places are real (every Zostel place, from /brand/places/index.json).