Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Bootstrap Vertically Stacked Pills Nav</title> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"> <link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css" rel="stylesheet"> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"></script> </head> <body> <div class="m-4"> <nav class="nav nav-pills flex-column"> <a href="#" class="nav-item nav-link active"> <i class="bi-house-door"></i> Home </a> <a href="#" class="nav-item nav-link"> <i class="bi-person"></i> Profile </a> <a href="#" class="nav-item nav-link"> <i class="bi-envelope"></i> Messages </a> <a href="#" class="nav-item nav-link disabled" tabindex="-1"> <i class="bi-bar-chart"></i> Reports </a> </nav> </div> </body> </html>