Extra CSS classes applied to the pattern root element.
Lets the user change the rating; when false it is read-only.
Number of rating items (0–100).
Current rating; a fractional part from 0.3 to 0.7 renders a half-filled item, below rounds down, above rounds up.
Size modifier appended as the rating-
Configuration accepted by RatingAPI.Create, as an object or as its JSON string. Every member is required, as the platform always sends them all: an omitted one is not defaulted and stays undefined. Generated by scripts/docs-ai-generator/generate-pattern-types.mjs from the Rating configuration classes — do not edit.