@props(['model', 'selected' => '', 'options'])
{{-- Underlined tabs bound to a Livewire filter property: one click sets it, '' means "all". --}}
class(['flex gap-1 border-b border-gray-200 dark:border-gray-700 mb-5 overflow-x-auto overflow-y-hidden']) }}>
@foreach ($options as $option)
@php $active = (string) $selected === (string) $option['id']; @endphp
@endforeach