Ship-It Designv0.0.21

GitHub

Testimonial

Each example below is a real component instance — flip the theme toggle to see how it adapts.

Default#

Loading…

Props#

Props for Testimonial
PropTypeDefaultDescription
quote *ReactNode—The quoted body.
author *ReactNode—Author display name.
roleReactNode—Author role / company.
avatarReactNode—Avatar initials or full node.
quoteTextstring | undefined—String version of `quote` for the JSON-LD `reviewBody` field. Required when `quote` is JSX — without it the JSON-LD script is suppressed.
authorNamestring | undefined—String version of `author` for the JSON-LD `author.name`.
authorJobTitlestring | undefined—String version of `role` for the JSON-LD `author.jobTitle`.
ratingnumber | undefined—Star rating (1–5). When provided, emitted as `reviewRating`.
itemReviewedNamestring | undefined—Name of the thing being endorsed (product / service / company).
urlstring | undefined—Optional URL of the thing being endorsed.
noStructuredDataboolean | undefined—Opt out of emitting the schema.org `Review` JSON-LD script.