@props([ 'collapsible' => true, 'icon' => null, 'items' => [], 'label' => null, ])
  • @if ($label)
    isSidebarCollapsibleOnDesktop()) x-transition:enter="delay-100 lg:transition" x-transition:enter-start="opacity-0" x-transition:enter-end="opacity-100" @endif @class([ 'flex items-center gap-x-3 px-2 py-2', 'cursor-pointer' => $collapsible, ])> @if ($icon) @endif {{ $label }}
    @endif