@props([
    'active' => false,
])
<a {{ $attributes->merge(['class' => 'cursor-pointer block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 ' . ($active ? 'bg-gray-100 text-gray-900' : 'text-gray-700')]) }}>
    {{ $slot }}
</a>
