@props(['href', 'active' => false]) class([ 'flex items-center px-4 py-2 text-sm transition-colors', 'bg-gray-900 text-white' => $active, 'text-gray-300 hover:bg-gray-700 hover:text-white' => !$active ]) }}> {{ $slot }}