Calm motion: animations on this site only fade, with no movement
Testimonials
Quotes with a name, a role, an avatar, and stars
Shows what people say about a product or a show, on a landing page. All quotes can show in a grid, or one at a time with buttons. For reviews with a summary of the stars, use the review summary.
Basic
5 out of 5 stars
Every episode gives me one thing I can try in my own studio the same night.
5 out of 5 stars
The wardrobe trick saved my first season. My room sounds like a real booth now.
4 out of 5 stars
Short, kind, and full of real numbers. I wish more shows were like this.
itemsis a list of quotes. Each quote has aquoteand aname, and an optionalrole,avatar, andratingfrom 1 to 5.layoutisgrid(default) orsingle. Insingle, the previous and next buttons go around the list, and a line says which quote shows. Nothing moves by itself.- Each quote is a
figurewith ablockquoteand its author. Screen readers hear the stars as words, such as "4 out of 5 stars". - Change the words with
labelsor a label pack:title,prev,next, and the functionspositionandrating.
Usage
ts
import { BlessTestimonials } from "blessing-ui";API
Props
| Name | Type | Default | Description |
|---|---|---|---|
items* | BlessTestimonial[] | — | |
layout | "single" | "grid" | "grid" | `grid` shows all; `single` shows one at a time with buttons |
labels | Partial<{ title: string; prev: string; next: string; position: (n: number, total: number) => string; rating: (stars: number) => string; }> | — |