Rating

The Rating component displays and collects numeric ratings (e.g. 1–5 stars) with optional custom symbols. Use it for reviews, feedback forms, and satisfaction displays in readonly or interactive mode.

Basic Usage

Use data-mv-rating to render an interactive star rating. The selected value is available for form submission and via the Mv.rating.change event.

Readonly

Display a fixed rating (e.g. 3 of 5 stars) with data-mv-rating-readonly="true" and data-mv-rating-value="3".

Custom Symbol

Use data-mv-rating-symbol="heart" to show hearts instead of stars.