Description
Easily highlight new or unread items by adding tags & pills to links, Bootstrap navs, and more. Vertical Navigation menu items can contain tags and pills in all navigation levels. You can use any color tags and pills with flat or glow effect. Robust Admin horizontal navigation has tag & pills on left side.
Tags example
Default Primary Success Info Warning DangerTags with .badge-pill
example
Tags with .badge-glow
& custom background and border color.
Tags (as pills)
12 5 8 12 10 15Tags (as pills) with icons
Tags (as pills) with .badge-glow
& custom background and border color.
This section contains HTML Markup to add tags & pils to vertical navigation menu with options.
- Line no 16 & 22: Contain the
<span class="badge badge-default badge-info float-right">1.2.2</span>
html code to add tag or badge to the menu items.
<!DOCTYPE html>
<html lang="en">
<head></head>
<body data-open="click" data-menu="horizontal-menu" class="horizontal-layout horizontal-menu 1-column menu-expanded">
<!-- navbar-static-top-->
<nav role="navigation" class="header-navbar navbar-expand-sm navbar navbar-with-menu navbar-static-top navbar-dark navbar-shadow navbar-border">
...
</nav>
<!-- START Horizontal navigation -->
<div role="navigation" data-menu="menu-wrapper" class="header-navbar navbar-expand-sm menu-icon-right navbar navbar-horizontal navbar-dark navbar-shadow border-grey border-darken-2">
<!-- Horizontal menu content-->
<div data-menu="menu-container" class="navbar-container">
<ul id="main-menu-navigation1" data-menu="menu-navigation" class="nav navbar-nav">
<li class="nav-item"><a href="index.html" class="nav-link"><i class="fa fa-lock"></i><span> <span class="badge badge-pill badge-default badge-danger">5</span> Dashboard</span></a></li>
<li data-menu="dropdown" class="dropdown nav-item"><a href="#" data-toggle="dropdown" class="dropdown-toggle nav-link"><i class="fa fa-tv"></i><span>My Menu</span></a>
<ul class="dropdown-menu">
<li class=" navigation-header"><span>Main</span></li>
<li data-menu=""><a href="#" data-toggle="dropdown" class="dropdown-item">Second level</a></li>
<li data-menu=""><a href="#" data-toggle="dropdown" class="dropdown-item"> <span class="badge badge-glow badge-pill badge-default badge-info">2</span> Second level</a></li>
<li data-menu=""><a href="#" data-toggle="dropdown" class="dropdown-item">Second level</a></li>
<li data-menu=""><a href="#" data-toggle="dropdown" class="dropdown-item">Second level</a></li>
<li data-menu=""><a href="#" data-toggle="dropdown" class="dropdown-item">Second level</a></li>
<li data-menu=""><a href="#" data-toggle="dropdown" class="dropdown-item">Second level</a></li>
<li data-menu=""><a href="#" data-toggle="dropdown" class="dropdown-item">Second level</a></li>
<li data-menu=""><a href="#" data-toggle="dropdown" class="dropdown-item">Second level</a></li>
<li data-menu=""><a href="#" data-toggle="dropdown" class="dropdown-item">Second level</a></li>
<li data-menu=""><a href="#" data-toggle="dropdown" class="dropdown-item">Second level</a></li>
<li data-menu=""><a href="#" data-toggle="dropdown" class="dropdown-item">Second level</a></li>
<li data-menu=""><a href="#" data-toggle="dropdown" class="dropdown-item">Second level</a></li>
<li data-menu=""><a href="#" data-toggle="dropdown" class="dropdown-item">Second level</a></li>
<li data-menu=""><a href="#" data-toggle="dropdown" class="dropdown-item">Second level</a></li>
<li data-menu="dropdown-submenu" class="dropdown dropdown-submenu"><a href="#" data-toggle="dropdown" class="dropdown-item dropdown-toggle">Second level with child</a>
<ul class="dropdown-menu">
<li data-menu=""><a href="#" data-toggle="dropdown" class="dropdown-item">Third level</a></li>
<li data-menu="dropdown-submenu" class="dropdown dropdown-submenu"><a href="#" data-toggle="dropdown" class="dropdown-item dropdown-toggle">Third level with child</a>
<ul class="dropdown-menu">
<li data-menu=""><a href="#" data-toggle="dropdown" class="dropdown-item"> <span class="badge badge-pill badge-default badge-warning">New</span> Fourth level</a></li>
<li data-menu=""><a href="#" data-toggle="dropdown" class="dropdown-item">Fourth level</a></li>
</ul>
</li>
</ul>
</li>
<li data-menu=""><a href="#" data-toggle="dropdown" class="dropdown-item">Second level</a></li>
</ul>
</li>
</ul>
</div>
<!-- /horizontal menu content-->
</div>
<!-- END Horizontal navigation -->
<!-- BEGIN Content-->
<div class="content app-content">
<div class="content-wrapper">
<!-- content header-->
<div class="content-header row">
...
</div>
<!-- content header-->
<!-- content body-->
<div class="content-body">
...
</div>
<!-- content body-->
</div>
</div>
<!-- END Content-->
<!-- START FOOTER DARK-->
<footer class="footer footer-dark">
...
</footer>
<!-- START FOOTER DARK-->
</body>
</html>