@props(['steps' => [], 'currentStep' => 1])
@foreach($steps as $index => $step) @php $stepNum = $index + 1; $isCompleted = $stepNum < $currentStep; $isActive = $stepNum === $currentStep; @endphp {{-- Step circle + line --}}
@if($isCompleted) @else {{ $stepNum }} @endif
{{ $step['label'] ?? '' }}
@if(!$loop->last)
@endif
@endforeach