Skip to content

Rating

Data display

Star rating (0-5) with optional review count: products, places, reviews.

Props

Generated from the Zod definition. In A2UI 1.0 any value may also be a { "@path" } binding into the surface data model or a { "@call" } function call.

PropTypeRequiredDescription
valuenumberYesThe value shown, or the bound value an input reads and writes.
countnumberNo-
labelstringNoShort label shown with the value or control.

Used by templates

No fixed template uses Rating yet. The dynamic composer can still place it in any surface.