bootstrap nav active class code example Example: laravel bootstrap nav active {{ Route::currentRouteNamed('about') ? 'active' : '' }}