BPT

Rating

The BptRating component displays an interactive star rating with support for half-star precision, custom max values, multiple sizes, read-only display, and custom colors.

Rating Parameters
5
1 100
3 / 5

Value: 3

Current Configuration
📋 [+]
<BptRating @bind-Value="rating"
          Precision="BptRatingPrecision.Full"
          Size="BptComponentSize.Medium"
          OnRatingChanged="HandleRatingChanged" />

@code {
    private double rating = 3;

    private void HandleRatingChanged(double newValue)
    {
        Console.WriteLine($"Rating changed to: {newValue}");
    }
}
An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please reload the page.