Rating Stars

Category: Marketing

Live preview
50

A row of stars showing a rating out of a maximum, optionally marked as interactive.

Surfaces
webgoogle-meet-stagegoogle-apps-script-webmcp-appsandroid
Degraded on
SurfaceNote
google-chatCan display static stars using Unicode characters or images, but no interactive rating functionality.
emailCan display static stars using Unicode characters or images, but no interactive rating functionality.
Fields
FieldTypeRequired
ratinginteger The current rating value (e.g., 3 for 3 stars).required
max_ratinginteger The maximum possible rating (e.g., 5 for 5 stars).required
is_interactiveboolean Indicates if the stars are clickable for user input.required
Example payload
{
  "type": "rating_stars",
  "rating": 75,
  "max_rating": 75,
  "is_interactive": true
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:rating_stars",
  "displayName": "Rating Stars",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/rating_stars/",
  "capabilities": [
    "web",
    "google-meet-stage",
    "google-apps-script-web",
    "mcp-apps",
    "android"
  ],
  "description": "A row of stars showing a rating out of a maximum, optionally marked as interactive.",
  "representativeQueries": [
    "show a star rating display",
    "a row of stars showing a rating out of a maximum, optionally marked as interactive.",
    "render a rating stars"
  ]
}
← 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 →