Layout
Mobile menu
A slide-in menu for screens under 992 px, with expandable submenus and the main actions at the bottom.
Examples
Menu drawer
Click the button to try it. The button in the header uses the same data-bs-target. Submenus open with Bootstrap's collapse and the arrow turns when open.
Classes
| Class | Purpose |
|---|---|
.offcanvas.mobile-nav | The drawer. offcanvas-start opens from the left, offcanvas-end from the right. |
.mobile-menu | Large touch-friendly links. Use a button plus .collapse for submenus. |
.mobile-submenu | Indented list inside a collapse. |
.mobile-nav-footer | Pinned to the bottom: contact details and buttons. |