@props(['active']) @php $classes = ($active ?? false) ? 'inline-flex items-center px-4 py-2 rounded-[20px] bg-black dark:bg-white text-sm font-medium leading-5 text-white dark:text-gray-100 hover:bg-[black!important] hover:text-white focus:outline-none transition duration-150 ease-in-out' : 'inline-flex items-center px-4 py-2 rounded-[20px] text-sm font-medium leading-5 dark:text-gray-400 hover:text-gray-700 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 }}