Star Rating Display

Renders a visual representation of a star rating, optionally with a

Surfaces
webmeet-stagepdfapps-script-web
Degraded on
SurfaceNote
googlechatRenders 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
FieldType
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",
    "meet-stage",
    "pdf",
    "apps-script-web"
  ],
  "description": "Renders a visual representation of a star rating, optionally with a",
  "representativeQueries": [
    "show a read-only star rating with score and count total review count",
    "renders a visual representation of a star rating, optionally with a",
    "render a star rating display"
  ]
}
← Full ARD catalog Try it live →
Deploy your own renderer

The renderer is open source. 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 apps-script-surface/gas-schema-renderer
clasp push && clasp deploy
Full deploy guide →