Ship-It Designv0.0.20

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 *ReactNodeThe quoted body.
author *ReactNodeAuthor display name.
roleReactNodeAuthor role / company.
avatarReactNodeAvatar initials or full node.
quoteTextstring | undefinedString version of `quote` for the JSON-LD `reviewBody` field. Required when `quote` is JSX — without it the JSON-LD script is suppressed.
authorNamestring | undefinedString version of `author` for the JSON-LD `author.name`.
authorJobTitlestring | undefinedString version of `role` for the JSON-LD `author.jobTitle`.
ratingnumber | undefinedStar rating (1–5). When provided, emitted as `reviewRating`.
itemReviewedNamestring | undefinedName of the thing being endorsed (product / service / company).
urlstring | undefinedOptional URL of the thing being endorsed.
noStructuredDataboolean | undefinedOpt out of emitting the schema.org `Review` JSON-LD script.