Star Rating Display

Category: Marketing

Live preview
10.0(1 reviews)

Renders a visual representation of a star rating, optionally with a total review count.

Surfaces
webgoogle-meet-stagepdfgoogle-apps-script-webmcp-appsandroidslidespptx
Degraded on
SurfaceNote
google-chatRenders as text (e.g., '4.5 stars') or using emoji stars; visual styling of stars is not supported.
emailRenders as text (e.g., '4.5 stars') or a static image; interactive or dynamic star rendering is not supported.
Fields
FieldTypeRequired
ratingnumberrequired
max_ratingintegerrequired
review_countintegerrequired
Example payload
{
  "type": "star_rating_display",
  "rating": 75,
  "max_rating": 75,
  "review_count": 1
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:star_rating_display",
  "displayName": "Star Rating Display",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/star_rating_display/",
  "capabilities": [
    "web",
    "google-meet-stage",
    "pdf",
    "google-apps-script-web",
    "mcp-apps",
    "android",
    "slides",
    "pptx"
  ],
  "description": "Renders a visual representation of a star rating, optionally with a total review count.",
  "representativeQueries": [
    "show a read-only star rating with score and count",
    "renders a visual representation of a star rating, optionally with a total review count.",
    "render a star rating display"
  ]
}
← Full ARD catalog
Deploy your own Google Apps Script renderer

The renderer is an open-source Google Apps Script web app. Deploy your own instance in 4 commands — you own the URL, no dependency on the demo endpoint.

git clone https://github.com/a2uicatalog/a2ui
cd a2ui/apps-script-surface/gas-wired-renderer
clasp push && clasp deploy
Full deploy guide →