Rating Stars

A visual component allowing users to rate an item using a series of

Surfaces
webgoogle-meet-stagegoogle-apps-script-webmcp-apps
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.
Live preview
[ rating_stars ]
Fields
FieldType
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"
  ],
  "description": "A visual component allowing users to rate an item using a series of",
  "representativeQueries": [
    "show a star rating display stars, or displaying a static rating",
    "a visual component allowing users to rate an item using a series of",
    "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 →