@props(['active']) @php $classes = ($active ?? false) ? 'inline-flex items-center px-1 py-2 text-sm font-semibold leading-5 text-secondary-600 dark:text-gray-100 focus:outline-none transition duration-150 ease-in-out' : 'inline-flex items-center px-1 py-2 text-sm font-semibold leading-5 text-gray-900 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-300 focus:outline-none focus:text-gray-700 dark:focus:text-gray-300 transition duration-150 ease-in-out'; @endphp merge(['class' => $classes]) }}> {{ $slot }}