@props(['name', 'class' => 'w-5 h-5']) @php $paths = [ 'flame' => '', 'dashboard' => '', 'users' => '', 'user' => '', 'dumbbell' => '', 'clipboard' => '', 'meal' => '', 'chart' => '', 'card' => '', 'star' => '', 'chat' => '', 'bell' => '', 'logout' => '', 'menu' => '', 'search' => '', 'check' => '', 'x' => '', 'arrow-right' => '', 'briefcase' => '', 'wallet' => '', 'shield' => '', 'log' => '', 'camera' => '', 'plus' => '', 'trash' => '', 'edit' => '', 'clock' => '', ]; $path = $paths[$name] ?? $paths['x']; @endphp {!! $path !!}