Logo

Base Examples

Navigation components in Bootstrap share some general markup and styles, from the base .navclass to the active and disabled states.


                        <ul class="nav">
                            <li class="nav-item">
                                <a class="nav-link active" href="#">Active</a>
                            </li>
                            <li class="nav-item">
                                <a class="nav-link" href="#">Link</a>
                            </li>
                            <li class="nav-item dropdown">
                                <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
                                    Dropdown
                                </a>
                                <div class="dropdown-menu">
                                    <a class="dropdown-item" href="#">Action</a>
                                    <a class="dropdown-item" href="#">Another action</a>
                                    <a class="dropdown-item" href="#">Something else here</a>
                                    <div class="dropdown-divider"></div>
                                    <a class="dropdown-item" href="#">Separated link</a>
                                </div>
                             </li>
                            <li class="nav-item">
                                <a class="nav-link disabled" href="#" tabindex="-1" aria-disabled="true">Disabled</a>
                            </li>
                        </ul>

Font Weight Options

Use .nav-bold, .nav-bolderand .nav-boldestto set font weight to nav links.


                        <ul class="nav nav-bold">
                            ...
                        </ul>
                        <ul class="nav nav-bolder">
                            ...
                        </ul>
                        <ul class="nav nav-boldest">
                            ...
                        </ul>
                        

Alignments

Change the horizontal alignment of your nav with flexbox utilities. flexbox utilities. By default, navs are left-aligned, but you can easily change them to center or right aligned.
Centered with .justify-content-center:


                        <ul class="nav justify-content-center">
                            ...
                        </ul>

Right-aligned with .justify-content-end:


                        <ul class="nav justify-content-end">
                            ...
                        </ul>

Stack your navigation by changing the flex item direction with the .flex-columnutility.


                        <ul class="nav flex-column">
                            ...
                        </ul>

Tabs

Add the .nav-tabsclass to generate a tabbed interface. Use them to create tabbable regions with the Tab JavaScript plugin.


                        <ul class="nav nav-tabs" id="myTab" role="tablist">
                            ...
                        </ul>
                        <div class="tab-content mt-5" id="myTabContent">
                            ...
                        </div>

Pills

Add .nav-pillswithin .nav-tabsto create pill shape navs.


                        <ul class="nav nav-pills" id="myTab" role="tablist">
                            ...
                        </ul>
                        <div class="tab-content mt-5" id="myTabContent">
                            ...
                        </div>

Use the standard bootstrap state color classes nav-{color}to change the active pill color.


                        <ul class="nav nav-success nav-pills" id="myTab" role="tablist">
                            ...
                        </ul>
                        <div class="tab-content mt-5" id="myTabContent">
                            ...
                        </div>

Use the standard bootstrap state color classes nav-light-{color}to set the light pill color style.


                        <ul class="nav nav-light-success nav-pills" id="myTab" role="tablist">
                            ...
                        </ul>
                        <div class="tab-content mt-5" id="myTabContent">
                            ...
                        </div>

Use nav-fillclass to fill and justify.


                        <ul class="nav nav-pills nav-fill">
                            ...
                        </ul>

Add Bootstrap's .flex-columnclass for vertical navs.

Cillum ad ut irure tempor velit nostrud occaecat ullamco aliqua anim Lorem sint. Id id reprehenderit sit est eu aliqua occaecat quis et velit excepteur laborum mollit dolore eiusmod. Ipsum dolor in occaecat commodo et voluptate minim reprehenderit mollit pariatur.
Cillum ad ut irure tempor velit nostrud occaecat ullamco aliqua anim Lorem sint. Id id reprehenderit sit est eu aliquad. Ipsum dolor in occaecat commodo et voluptate minim reprehenderit mollit pariatur.
Cillum ad ut irure tempor velit nostrud occaecat ullamco aliqua anim Lorem sint. Ipsum dolor in occaecat commodo et voluptate minim reprehenderit mollit pariatur.

                        <div class="row">
                            <div class="col-4">
                                <ul class="nav flex-column nav-pills">
                                    ...
                                </ul>
                            </div>
                            <div class="col-8">
                                <div class="tab-content" id="myTabContent">
                                    ...
                                </div>
                            </div>
                        </div>

User Profile 12 messages

James Jones
Application Developer
Recent Notifications
Another purpose persuade Due in 2 Days
+28%
Would be to people Due in 2 Days
+50%
-27%
The best product Due in 2 Days
+8%

Shopping Cart

iBlender The best kitchen gadget in 2020
$ 350 for 5
SmartCleaner Smart tool for cooking
$ 650 for 4
CameraMax Professional camera for edge cutting shots
$ 150 for 3
4D Printer Manufactoring unique objects
$ 1450 for 7
MotionWire Perfect animation tool
$ 650 for 7

Select A Demo

Demo 1
Demo 2
Demo 3
Demo 4
Demo 5
Demo 6
Demo 7
Demo 8
Demo 9
Demo 10
Demo 11
Demo 12
Demo 13
Demo 14
Demo 15
Demo 16
Demo 17
Demo 18
Demo 19
Demo 20
Demo 21
Demo 22
Demo 23
Demo 24
Demo 25
Demo 26
Demo 27
Demo 28
Demo 29
Demo 30