Tutorialsplane

Bootstrap add search box with icon in navbar


Bootstrap add search box with icon in navbar : Sometimes we need to add the search box in main navbar with icons. Here in this tutorial we are going to explain how you can create a simple form navbar which contains the search box with icons. We will explain this with example and demo.


Bootstrap add search box with icon in navbar

You can create search box simply as below –

Bootstrap add search box with icon navbar : Example



Try it »

If you run the above example it will produce output something like this –


More Examples

Let’s have look over more example and demo here.

Saerch bar with icon inverse navbar

You can add the navbar-inverse class to create inverted navbar with search icons.

Bootstrap add search box with icon in navbar : Example



Try it »

If you run the above example it will produce output something like this –

Tip : On the same way you can also add your own class to change the navbar color.