The Rating
component allows you to create styled ratings.
You can create a Rating
using the static method make()
.
make( int $value, int $min = 1, int $max = 5)
- $value - rating value,
- $min - minimum value,
- $max - maximum value.
use MoonShine\UI\Components\Rating; Rating::make(3, 1, 10)
<x-moonshine::rating value="8" min="1" max="10" />