# Documentation v8.0.38

Preview Downloads Purchase

# Overview

Bootstrap Menu is an exclusive component of Metronic that provides a simple and elegent solution for Bootstrap Menu with nested Dropdown and Accordion Submenus.

# Usage

Bootstrap Menu's CSS and Javascript bundles are globally included in all pages.

    <link href="assets/css/style.bundle.css" rel="stylesheet" type="text/css"/>
    <script src="assets/js/scripts.bundle.js"></script>

# Initialization

- Bootstrap Menu structure is split into 3 parts. The trigger element, the menu containerand the menu items.
- The trigger element can be any HTML element. For example, a `button`, an `input`field or an empty `div`.
- Add `data-kt-menu-trigger`to the trigger element with a value of `click`or `hover`initialize the menu trigger type.
- Add `.menu`CSS class to the menu container along with `data-kt-menu="true"`attribute to define the menu container. There are other options available as well, listed below.
- Add `.menu-item`CSS class to the menu item elements to define the menu elements. Add `.menu-link`as a child element within `.menu-item`to enable a clean hover state effect.
- Bootstrap Menu can be nested within itself to allow multiple tier menus. Please refer to our nested menu example below.
- Bootstrap Menu supports all Bootstrap styling classes.
- Bootstrap Menu instances can also be controlled programmatically. See below for more info.

# Examples

Basic inline menu with link, icon and badge.

    <!--begin::Menu-->
    <div class="menu">
        <!--begin::Menu item-->
        <div class="menu-item">
            <a href="#" class="menu-link">
                <span class="menu-icon">
                    <i class="bi bi-bar-chart fs-3"></i>
                </span>
                <span class="menu-title">Example Link</span>
            </a>
        </div>
        <!--end::Menu item-->

        <!--begin::Menu item-->
        <div class="menu-item">
            <a href="#" class="menu-link">
                <span class="menu-icon">
                    <i class="bi bi-bell fs-3"></i>
                </span>
                <span class="menu-title">Example Link</span>
                <span class="menu-badge">
                    <span class="badge badge-sm badge-circle badge-danger">5</span>
                </span>
            </a>
        </div>
        <!--end::Menu item-->

        <!--begin::Menu item-->
        <div class="menu-item">
            <a href="#" class="menu-link">
                <span class="menu-icon">
                    <i class="bi bi-calendar-event fs-3"></i>
                </span>
                <span class="menu-title">Example Link</span>
            </a>
        </div>
        <!--end::Menu item-->
    </div>
    <!--end::Menu-->

Use `.menu-column`class for a basic vertical menu:

    <!--begin::Menu-->
    <div class="menu menu-column w-200px">
        <!--begin::Menu item-->
        <div class="menu-item">
            <a href="#" class="menu-link">
                <span class="menu-icon">
                    <i class="bi bi-bar-chart fs-3"></i>
                </span>
                <span class="menu-title">Example Link</span>
            </a>
        </div>
        <!--end::Menu item-->

        <!--begin::Menu item-->
        <div class="menu-item">
            <a href="#" class="menu-link">
                <span class="menu-icon">
                    <i class="bi bi-bell fs-3"></i>
                </span>
                <span class="menu-title">Example Link</span>
                <span class="menu-badge">
                    <span class="badge badge-sm badge-circle badge-danger">5</span>
                </span>
            </a>
        </div>
        <!--end::Menu item-->

        <!--begin::Menu item-->
        <div class="menu-item">
            <a href="#" class="menu-link">
                <span class="menu-icon">
                    <i class="bi bi-calendar-event fs-3"></i>
                </span>
                <span class="menu-title">Example Link</span>
            </a>
        </div>
        <!--end::Menu item-->
    </div>
    <!--end::Menu-->

### Explore

### Metronic Licenses

License FAQs
Regular License
For single end product used by you or one client
$ 39
Extended License
For single SaaS app with paying users
$ 969
Custom License
Reach us for custom license offers.
Contact Us
Buy Now

### Metronic Demos

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
Coming soon
Coming soon

##### Learn & Get Inspired

## Support at devs.keenthemes.com

Join our developers community to find answer to your question and help others. FAQs
Get Support
Documentation & Videos
From guides and video tutorials, to live demos and code examples to get started.
Plugins & Components
Check out our 300+ in-house components and customized 3rd-party plugins.
Layout Builder
Build your layout, preview it and export the HTML for server side integration.
Metronic Downloads
Download your prefered framework and demo with one click.
What's New
Latest features and improvements added with our users feedback in mind.
Buy now