@props(['tabs', 'current', 'param' => 'status', 'counts' => []]) {{-- Filter pills linking to this page with ?{param}=value (other filters kept); counts are optional hints per tab. --}}
class('mb-4 flex flex-wrap gap-2') }}> @foreach ($tabs as $value => $label) $current === $value, 'pill-idle' => $current !== $value])> {{ $label }} @if (isset($counts[$value])){{ $counts[$value] }}@endif @endforeach