Reviews card

Social proof on display: the supplied overall rating and selected reviews, one at a time or as a wall.

The supplied overall rating, stars and review count beside selected review excerpts that rotate one at a time, or a wall of quotes that pages on the same interval. A photo of the place stands on a framed plate above the rating in landscape and in a band over it in portrait. Short reviews take a large size and long ones a smaller one; only a review longer than the screen holds is shortened, on a word boundary. Primetime counts the rating up, fills the stars, brings the quote panel in and runs a cyan light along it at each new review, over a slow testimonial-card background. Filtering, shortened names, review ages and selection remain unchanged. Reduced motion settles the display on a composed still.

Live card

This card is drawn in your browser by the same code the Players run, with sample data.

Category: Media. Tags: Social and audience, Stores, Restaurants and cafes, Healthcare.

Data and privacy

Feed: screenrig.reviews/v1.

Feed documents carry source attribution. The Player supplies the feed to the card.

Properties

For theme, background, accent, colour overrides and position, see Common properties.

Static properties

NameTypeDefaultValues and limitsDescription
titlestring""maxLength: 60Empty uses the place's name.
minRatinginteger4minimum: 1; maximum: 5
maxLengthinteger220minimum: 60; maximum: 500Longer reviews are cut on a word boundary with an ellipsis.
intervalSecondsinteger10minimum: 5; maximum: 120
showSummarybooleantrue
imagestring""maxLength: 200A project media reference (media:<id>): a photo of the place, set above the rating in landscape and in a band over it in portrait, beside the rotating quote. Empty shows the rating and quote alone.

Dynamic properties

NameTypeDefaultValues and limitsDescription
placeobject, nullnulladditionalProperties: falseThe place the reviews are for; the feed's wins.
place.namestringminLength: 1; maxLength: 80; Required
sourcestring""maxLength: 40Where the reviews come from, for example google; the feed's wins.
ratingnumber0minimum: 0; maximum: 5The place's overall rating out of 5; the feed's wins.
totalinteger0minimum: 0; maximum: 100000000How many reviews the rating is from; the feed's wins.
reviewsarray[]minItems: 0; maxItems: 50Reviews, the same rows as the screenrig.reviews/v1 feed's reviews. A feed wins when present; the data store supplies the same rows otherwise.
reviews[].authorstringmaxLength: 80; Required
reviews[].ratingnumberminimum: 1; maximum: 5; Required
reviews[].textstringmaxLength: 2000; Required
reviews[].publishedstringmaxLength: 40; RequiredWhen it was posted, an ISO 8601 instant.

Example params

{
  "theme": "neomustard"
}
screenrig card create --type reviews --major 1 --file params.json --context-file context.md

Example data

{
  "place": null,
  "source": "",
  "rating": 0,
  "total": 0,
  "reviews": []
}

Layouts

This fullscreen card fills the whole screen in landscape or portrait and is not placed as a corner, chip, or strip.

Layouts: full. Forms: landscape, portrait.

Use this card

Add this card to a playlist as in Publish a card canvas, place it with the layouts and anchors and update its data as in Write live values.