<li @isset($item['id']) id="{{ $item['id'] }}" @endisset class="nav-item dropdown" style="margin-left: 10px;">

    {{-- Menu toggler --}}
    <a class="nav-link dropdown-toggle {{ $item['class'] }} d-flex align-items-center" href=""
       data-toggle="dropdown" {!! $item['data-compiled'] ?? '' !!}>

        {{-- Icon (optional) --}}
        <div class="d-flex justify-content-center align-items-center rounded-circle p-1" style="height: 30px; width: 30px;">
            @isset($item['icon'])
                <i class="{{ $item['icon'] }} {{
                    isset($item['icon_color']) ? 'text-' . $item['icon_color'] : 'text-black'
                }}"></i>
            @endisset
        </div>

        {{-- Text --}}
        <span class="mx-1">{{ $item['text'] }}</span>

        {{-- Label (optional) --}}
        @isset($item['label'])
            <span class="badge badge-{{ $item['label_color'] ?? 'primary' }}">
                {{ $item['label'] }}
            </span>
        @endisset

    </a>

    {{-- Menu items --}}
    <ul class="dropdown-menu border-0 shadow">
        @each('adminlte::partials.navbar.dropdown-item', $item['submenu'], 'item')
    </ul>

</li>
