|
1 | | -# bootstrap-vertical-navbar |
| 1 | + |
2 | 2 | Responsive Vertical Navbar built with Bootstrap 5. The vertical navigation component provides an easy way to navigate through your website. |
| 3 | + |
| 4 | +Check out [Bootstrap Avatars Documentation](https://mdbootstrap.com/docs/standard/extended/vertical-navbar/) for detailed instructions & even more examples. |
| 5 | + |
| 6 | +## Basic example |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | +```html |
| 11 | + |
| 12 | +<!-- Sidenav--> |
| 13 | +<nav id="sidenav-1" class="sidenav" data-mdb-position="absolute"> |
| 14 | + <ul class="sidenav-menu"> |
| 15 | + <li> |
| 16 | + <a class="sidenav-link"> <i class="far fa-smile fa-fw me-3"></i><span>Link 1</span></a> |
| 17 | + </li> |
| 18 | + <li> |
| 19 | + <a class="sidenav-link"> <i class="fas fa-grin fa-fw me-3"></i><span>Category 1</span><i class="fas fa-angle-down rotate-icon"></i> </a> |
| 20 | + <ul class="sidenav-collapse collapse"> |
| 21 | + <li> |
| 22 | + <a class="sidenav-link">Link 2</a> |
| 23 | + </li> |
| 24 | + <li> |
| 25 | + <a class="sidenav-link">Link 3</a> |
| 26 | + </li> |
| 27 | + </ul> |
| 28 | + </li> |
| 29 | + <li> |
| 30 | + <a class="sidenav-link"> <i class="fas fa-grin-wink fa-fw me-3"></i><span>Category 2</span><i class="fas fa-angle-down rotate-icon"></i> </a> |
| 31 | + <ul class="sidenav-collapse collapse"> |
| 32 | + <li> |
| 33 | + <a class="sidenav-link">Link 4</a> |
| 34 | + </li> |
| 35 | + <li> |
| 36 | + <a class="sidenav-link">Link 5</a> |
| 37 | + </li> |
| 38 | + </ul> |
| 39 | + </li> |
| 40 | + </ul> |
| 41 | +</nav> |
| 42 | +<!-- Sidenav--> |
| 43 | +<!-- Toggler --> |
| 44 | +<div style="padding: 20px;" class="text-center"> |
| 45 | + <button data-mdb-toggle="sidenav" data-mdb-target="#sidenav-1" class="btn btn-primary"> |
| 46 | + <i class="fas fa-bars"></i> |
| 47 | + </button> |
| 48 | +</div> |
| 49 | +<!-- Toggler --> |
| 50 | + |
| 51 | +``` |
| 52 | + |
| 53 | + |
| 54 | +## How to use? |
| 55 | + |
| 56 | +1. Download MDB 5 - free UI KIT |
| 57 | + |
| 58 | +2. Choose your favourite customized component and click on the image |
| 59 | + |
| 60 | +3. Copy & paste the code into your MDB project |
| 61 | + |
| 62 | +[▶️ Subscribe to YouTube channel for web development tutorials & resources](https://www.youtube.com/MDBootstrap?sub_confirmation=1) |
| 63 | + |
| 64 | +## More examples |
| 65 | + |
| 66 | +[Bootstrap Vertical navbar on the right: |
| 67 | +](https://mdbootstrap.com/docs/standard/extended/vertical-navbar/#section-on-the-right) |
| 68 | + |
| 69 | +[Bootstrap Vertical navbar not full height: |
| 70 | +](https://mdbootstrap.com/docs/standard/extended/vertical-navbar/#section-not-full-height) |
| 71 | + |
| 72 | +[Bootstrap Vertical navbar Submenu: |
| 73 | +](https://mdbootstrap.com/docs/standard/extended/vertical-navbar/#section-submenu) |
| 74 | + |
| 75 | +___ |
| 76 | + |
| 77 | +## More extended Bootstrap documentation |
| 78 | + |
| 79 | +<ul> |
| 80 | +<li><a href="https://mdbootstrap.com/docs/standard/navigation/sidenav/">Bootstrap Sidenav</a></li> |
| 81 | +<li><a href="https://mdbootstrap.com/docs/standard/extended/side-navbar/">Bootstrap Side navbar</a></li> |
| 82 | +<li><a href="https://mdbootstrap.com/docs/standard/extended/sidebar/">Bootstrap Sidebar</a></li> |
| 83 | +<li><a href="https://mdbootstrap.com/docs/standard/extended/hamburger-menu/">Bootstrap Hamburger menu</a></li> |
| 84 | +<li><a href="https://mdbootstrap.com/docs/standard/extended/offcanvas/">Bootstrap Offcanvas</a></li> |
| 85 | +<li><a href="https://mdbootstrap.com/docs/standard/extended/drawer/">Bootstrap Drawer</a></li> |
| 86 | +</ul> |
| 87 | + |
0 commit comments