Skip to content
SLIDERS AND RATING · FREE

RatingDisplay

Show ratings with half stars, a score and a review count.

Show ratings as read-only stars with fractions, an optional number and a review count.

Why it helps

  • Fractions such as 4.5
  • Optional score and count
  • Read only

Where it fits

  • Product cards
  • Review summaries
  • Directories
RatingDisplay control in a RayCraft page

Example

<Stack Direction="StackDirection.Column" Align="flex-start">
    <RatingDisplay Value="4.5" Count="1280" />
    <RatingDisplay Value="3.2" />
    <RatingDisplay Value="2.8" Max="10" ShowValue="false" />
</Stack>

A short fragment. Add @using RayCraft.Blazor.Components to your page and use an interactive render mode.

Included in RayCraft Free. Working examples are in the GitHub repository (MIT); it holds example and demo code, not the library code.

All controls ยท Documentation