A visual component allowing users to rate an item using a series of
| Surface | Note |
|---|---|
| googlechat | Can display static stars using Unicode characters or images, but no interactive rating functionality. |
| Can display static stars using Unicode characters or images, but no interactive rating functionality. |
| Field | Type | |
|---|---|---|
| rating | integer The current rating value (e.g., 3 for 3 stars). | required |
| max_rating | integer The maximum possible rating (e.g., 5 for 5 stars). | required |
| is_interactive | boolean Indicates if the stars are clickable for user input. | required |
{
"type": "rating_stars",
"rating": 75,
"max_rating": 75,
"is_interactive": true
}
{
"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",
"meet-stage",
"apps-script-web"
],
"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"
]
}
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 →