Velocity X Components

Cards & Expandables

Review Rating Card

A compact, star-first review tile for a review-wall grid or product page — rating, review text, reviewer identity and a verified-buyer marker. A single-review primitive (not a section), distinct from Marketing & Social Proof's aggregate review-card and quote-led testimonial-card.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add review-rating-card

Built for react. Needs react already installed as a peer dependency. An Astro-only project needs @astrojs/react wired up first — this won't run on its own in plain Astro.

Full docs for Review Rating Card →

Needs a licence key — subscribe here, then velocityx loginonce.

react v1.0.1 react
Review Rating Card
via Verified Buyer

Solid build quality and the battery genuinely lasts the full week they claim. Only gripe is the companion app is a bit clunky.

Daniel Osei

Verified

Props

NameTypeRequiredDefaultDescription
ratingnumberYes0–5, half-points supported
reviewTextstringYes
reviewerNamestringYes
reviewerAvatarstringYesfalls back to initials
dateISOstringYesrendered via <time datetime>
dateLabelstringYese.g. "2 weeks ago"
verifiedbooleanNofalse
sourcestringYese.g. "Google", "Verified Buyer"
classNamestringNo''

File this creates

The CLI writes this path into your project, relative to its root — nothing else moves.

text
components/velocity/review-rating-card/ReviewRatingCard.jsx

Using the Review Rating Card component

Install it with velocityx add review-rating-card. The CLI writes the source straight into your project — no runtime dependency, no registry lock-in, and it themes itself from the same primary-*/accent-* scale as the rest of the library.

More from Cards & Expandables.