Bootstrap has it's own component to make navbar and you can see that https://getbootstrap.com/docs/5.2/components/navbar/. First of all you have to include bootstrap's CSS file in your project. if you want to use JS features it is required to use JS file also. lets create some routes in laravel: Route::view('/', 'home')->name('home'); Route::view('/about', 'about')->name('about); Route::view('/contact', 'contact')->name('contact'); Enter fullscreen mode

Enter fullscreen mode now lets create the nav-bar.blade.php for navbar you can use the default https://getbootstrap.com/docs/5.2/components/navbar/.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners