{{-- Spinner Component - LucentUI Theme Migrated from AdminLTE to Tailwind Usage: --}} @props([ 'size' => 'md', 'color' => 'current', ]) @php $sizeClasses = [ 'xs' => 'w-3 h-3', 'sm' => 'w-4 h-4', 'md' => 'w-5 h-5', 'lg' => 'w-6 h-6', 'xl' => 'w-8 h-8', ]; $colorClasses = [ 'current' => 'text-current', 'primary' => 'text-primary', 'secondary' => 'text-secondary', 'success' => 'text-success', 'warning' => 'text-warning', 'danger' => 'text-error', 'info' => 'text-info', 'muted' => 'text-neutral', ]; $sizeClass = $sizeClasses[$size] ?? $sizeClasses['md']; $colorClass = $colorClasses[$color] ?? $colorClasses['current']; @endphp class(['animate-spin', $sizeClass, $colorClass]) }} xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" >