Are you an LLM? You can read better optimized documentation at /api/renderers/web-components/src/variables/rating.md for this page in Markdown format
pantoken / renderers/web-components/src / rating
Variable: rating
constrating:ElementDefinition
Alpha
<instui-rating> — a star rating with role="img". value is the number of filled stars, max the total (default 5), and label overrides the accessible name (defaults to value/max). Stars render as inline SVG glyphs (solid = filled), sized to the text.
Example
html
<instui-rating value="4" max="5" label="4 out of 5 stars"></instui-rating>