Rating

Collects star feedback through an accessible radiogroup.

Bind value with OptionBind, set max and step (0.5 for half stars), and pair with Field plus rules for validation. For read-only summaries use RatingDisplay.

Default rating

Five-star interactive rating with brand color — bind value to persisted state.

Half steps

step=0.5 enables half-star hover and selection for finer granularity.

Colors

Brand, marigold, and neutral presets for marketing versus subdued contexts.

Sizes

Size tokens scale icons for dense tables versus spacious detail headers.

Required validation inside Field

Field shows the label and required indicator; RatingRule::required drives validation text below the control.

Custom max

Increase max when more than five levels are needed (minimum 2).