Ratings show people’s opinions of a product, helping others make more informed purchasing decisions. People can also rate products they’ve purchased.
Ratings show people’s opinions of a product, helping others make more informed purchasing decisions. People can also rate products they’ve purchased.
Large Stars:<br /> <Rating Size="RatingSize.Large" AriaLabelFormat="Select {0} of {1} stars" /> Small Stars:<br /> <Rating RatingValue="3" /> 10 Small Stars:<br /> <Rating AriaLabel="10 small stars" Max="10" /> Disabled:<br /> <Rating Disabled="true" /> Half star in readOnly mode:<br /> <Rating ReadOnly="true" RatingValue="2.5" GetAriaLabel="@((value, max) => $"Half star in readOnly mode rating value is {value.ToString()} of {max.ToString()}")" /> Custom icons:<br /> <Rating RatingValue="2.5" IconName="StarburstSolid" UnselectedIcon="Starburst" />
<Rating Max="10" @bind-RatingValue="rateten" /> @rateten of 10 Stars selected!
<Rating AllowZeroStars="true" RatingValue="rate" ReadOnly="true" /> <PrimaryButton OnClick="SetRate" Text="@buttonText" />