@props(['percent' => 0, 'label' => null, 'size' => 96, 'stroke' => 8]) @php $radius = ($size - $stroke) / 2; $circumference = 2 * M_PI * $radius; $offset = $circumference - (min(max($percent, 0), 100) / 100) * $circumference; @endphp