@php use function Filament\Support\generate_href_html; @endphp
@props([
'active' => false,
'badge' => null,
'badgeColor' => null,
'grouped' => true,
'last' => false,
'first' => false,
'icon' => null,
'shouldOpenUrlInNewTab' => false,
'url',
])
$active,
])
>
$active,
])
>
@if (filled($icon))
! $active,
'text-white dark:text-primary-400' => $active,
])
/>
@elseif ($grouped)
@endif
! $active,
'text-white dark:text-primary-400' => $active,
'font-semibold' => ! $grouped,
'font-medium' => $grouped,
])
>
{{ $slot }}
@if (filled($badge))
{{ $badge }}
@endif