Bootstrap Dropdowns

Bootstrap Dropdowns allow you to create toggleable menus for navigation, actions, or filters. They are interactive and easy to use with built-in classes and minimal JavaScript.

Available in Bootstrap 3, 4, and 5. Slight syntax differences exist in newer versions.


✅ Basic Dropdown


🔹 Dropdown Inside Navbar


🔽 Dropdown with Headers & Dividers

  • .dropdown-header → Adds a non-clickable header inside the menu.

  • .divider → Adds a horizontal divider between items.


🎯 Dropdown Alignment

Right-aligned dropdown:


🔹 Dropup (Menu opens upwards)


⚡ Split Button Dropdown


✔ Summary

FeatureSupported
Basic dropdown menu✔️
Dropdown in navbar✔️
Headers & dividers✔️
Right-aligned & dropup menus✔️
Split button dropdown✔️
Works with buttons, links✔️

You may also like...