

Every state


default


hover


focus


playing


no-video


no-quote


narrow
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| poster | { src: string; alt: string; width: number; height: number; fit?: "cover" | "contain" } | { src: "/components/testimonial-card/testimonial-video/poster.webp", alt: "Kwame Owusu in an olive shirt over a white… | A still from the film, 4:3; also the video's poster. |
| video | TestimonialVideoFile | null | { src: "/components/bento/bento-video/tour.mp4", type: "video/mp4", captions: null } | The film. Null or left out: the poster only, with no play button. |
| duration | string | null | "0:06" | The film's length, e.g. "0:47". Null or left out: no length chip. |
| quote | string | null | "Customers book a slot themselves now. I spend the day fixing bikes instead of answering the phone." | One short line from the film. Null or left out: no quote. |
| name | string | "Kwame Owusu" | Name. |
| role | string | "Owner, Holm Bike Repairs" | Role and company. |
| onPlay | () => void | – | Called when the film starts from the play button. |
| labels | TestimonialVideoLabels | { play: "Play the video from {name}, {duration}" } | Labels. |
| className | string | – | Extra classes on the outer element. |
More testimonial cards
All 10testimonial-card-10 is in UI ProGet UI Pro, €199


