@php $defaultClasses = 'w-5 h-5 flex-shrink-0'; // Icon definitions - all from Heroicons v2 $icons = [ 'home' => '', 'login' => '', 'building-office' => '', 'chat-bubble' => '', 'newspaper' => '', 'academic-cap' => '', 'users' => '', 'user' => '', 'queue-list' => '', 'clock' => '', 'bookmark' => '', 'user-group' => '', // Additional commonly used icons (add more as needed) 'cog-6-tooth' => '', 'envelope' => '', 'pencil' => '', 'trash' => '', 'plus' => '', 'x-mark' => '', // Additional icons for Flux replacement 'chevron-down' => '', 'shield-check' => '', 'heart-pulse' => '', 'puzzle-piece' => '', 'arrow-down-tray' => '', 'book-open' => '', 'chat-bubble-left-right' => '', 'bookmark-square' => '', 'corner-up-left' => '', 'magnifying-glass' => '', 'sun' => '', 'moon' => '', 'computer-desktop' => '', 'lock-closed' => '', 'eye' => '', 'eye-slash' => '', 'arrow-path' => '', 'shield-exclamation' => '', 'qr-code' => '', 'document-duplicate' => '', 'check' => '', 'x-circle' => '', // Custom Fields Extension icons 'clipboard-document-list' => '', 'check-circle' => '', 'pencil-square' => '', 'information-circle' => '', 'exclamation-circle' => '', 'chevron-up' => '', ]; $path = $icons[$name] ?? ''; @endphp merge(['class' => $defaultClasses]) }}> {!! $path !!}