Radzen Blazor Components

Blazor Rating

The Blazor Rating captures a star rating, with a configurable number of stars and disabled or read-only modes.

Get and Set the value of Rating Link to this section

As all Radzen Blazor input components the Rating has a Value property which gets and sets the value of the component. Use @bind-Value to get the user input.

Get and Set the value of Rating using Value and Change event Link to this section

Value property can be used to set the value of the component and Change event to get the user input.

Set number of stars Link to this section

Use the Stars property to configure the number of stars displayed in the rating component.

Disabled Rating Link to this section

Use Disabled="true" to disable the Rating and prevent user interaction.

Read-only Rating Link to this section

Use ReadOnly="true" to display a rating that users can view but not modify.

Keyboard Navigation Link to this section

The following keys or key combinations provide a way for users to navigate and interact with Radzen Blazor Rating component.

Press this key To do this
Tab Navigate to the clear button or the selected Rating star.
Shift + Tab Navigate to the previous focusable element.
RightArrow or UpArrow Select and focus the next Rating star.
LeftArrow or DownArrow Select and focus the previous Rating star.
Space or Enter Select the focused Rating star or clear the value when the clear button is focused.

Frequently asked questions

How do I set the number of stars in the Blazor Rating?

Set Stars to the maximum number of stars, bind Value to the selected rating, and use ReadOnly to display a fixed rating.

Radzen Blazor Newsletter

Get an email when new components and releases ship.

All the tools in one place

Save Hours on Every Project

With Radzen Blazor subscription you get the full toolkit, including:

Dedicated support backed by proven expertise

Premium themes and theme editor

Ready-to-use UI blocks

Complete app templates

Visual design-time-experience

Radzen Blazor Studio

Radzen Blazor Components, © 2018-2026 Radzen.
Source Code licensed under MIT

Demos Configuration

Premium Themes

  • Material 3
  • Material 3 Dark
  • Material 3 Expressive
  • Material 3 Expressive Dark
  • Fluent
  • Fluent Dark

Free Themes

  • Material
  • Material Dark
  • Standard
  • Standard Dark
  • Default
  • Dark
  • Humanistic
  • Humanistic Dark
  • Software
  • Software Dark
An error has occurred. This app may no longer respond until reloaded. Reload 🗙