@props(['name', 'size' => 16]) @php($icons = ['settings' => 'fa-cog', 'alert' => 'fa-exclamation-triangle', 'chevron-left' => 'fa-chevron-left']) @if (isset($icons[$name])) class(['fas', $icons[$name]]) }} style="font-size: {{ (int) $size }}px" aria-hidden="true"> @endif