Rating

A basic interactive rating component.

Preview
Dart

Read-only Rating

Set `isReadOnly: true` to display a non-interactive rating.

Preview
Dart

Mask-star-2 with warning color

Preview
Dart

Mask-heart with multiple colors

Use the compositional `RatingContainer` and `RatingItem` components to apply unique styles to each item.

Preview
Dart

Mask-star-2 with green-500 color

Use `classes` for Tailwind utilities not yet abstracted by `deepyr`.

Preview
Dart

Sizes

Preview
Dart

With `rating-hidden` (Clearable)

Set `allowClear: true` to enable un-setting the rating.

Preview
Dart

Half stars

Set `allowHalf: true` to enable half-star selection.

Preview
Dart