Laravel Logout Form in Blade View

After creating laravel new app, larave ui have default auth template. Here is the logout form ๐Ÿ‘‡

<a class="dropdown-item" href="{{ route('logout') }}"
    onclick="event.preventDefault();
        document.getElementById('logout-form').submit();">
    {{ __('Logout') }}
</a>

<form id="logout-form" action="{{ route('logout') }}" method="POST" class="d-none">
    @csrf
</form>