@props([ 'percent' => 0, ]) @php $angle = $percent? min(180, $percent/100 * 180) : 0; $attributes = $attributes->class([ 'gauge' ]); @endphp