Rating

Example

It controls the rating based on a integer number. For "not rated" set its model value as "0".

{{-- Not rated --}}
{{-- public int $ranking0 = 0; --}}
<x-rating wire:model="ranking0" />
 
<x-rating wire:model="ranking1" class="bg-warning" total="8" />
 
<x-rating wire:model="ranking2" class="!mask-circle" />
 
<x-rating wire:model="ranking3" class="!mask-diamond bg-accent" />
 
<x-rating wire:model="ranking4" class="!mask-heart bg-secondary rating-lg" />

maryUI
Sponsor