Dropdowns are toggleable, contextual overlays for displaying lists of links and more. They're made interactive with the included Bootstrap dropdown JavaScript plugin. They're toggled by clicking, not by hovering; this is an intentional design decision. Dropdowns are built on a third party library, Popper.js, which provides dynamic positioning and viewport detection.
Find more facts and uses at the bootstrap official documentation.
Kitchen Sink example
A composition of all working elements
Links & buttons
Dropdown menus can be triggered from
<a>
or <button>
elements to better fit your potential needs. Button
Link
Dropdown buttons
Variations
Split button
Multilevel dropdown
Add multilevel menu by wrapping the child node selectors with
.dropdown-multilevel
, change direction of by adding .dropdown-multilevel-left
(right by default)
Action
Multilevel
First level
Second Level
Content types
Some example text that's free-flowing within the dropdown menu.
And this is more example text.
Sizing dropdowns
Button dropdowns work with buttons of all sizes, including default and split dropdown buttons
No arrow
Remove directional arrow from dropdown button by adding
.no-arrow
to .dropdown-toggle
Animated dropdowns
Add animations to dropdowns by adding
.dropdown-menu-animated
, .fadeup
, .fadedown
, .faderight
, .fadeleft
to .dropdown-menu
Fade in from bottom
Fade in from top
Fade in from right
Fade in from left
Directional Arrows
Trigger dropdown menus above elements by adding
.dropup
, .dropright
, and .dropleft
to the parent element. Dropup
Dropend
Dropstart
Container examples
You can add any content to dropdown containers and change its width by adding the class
.dropdown-sm
, .dropdown-md
, .dropdown-lg
, and .dropdown-xl
Headers examples
Customize
.dropdown-header
using utility classes. Change backgrounds, colors, and paddings using various helpers

Sunny A.
admin@smartadmin.ai

Sunny A.
admin@smartadmin.ai

Sunny A.
admin@smartadmin.ai
Responsive alignment
If you want to use responsive alignment, disable dynamic positioning by adding the
data-display="static"
attribute and use the responsive variation classes. To align left/right the dropdown menu with the given breakpoint or larger, add .dropdown-menu{-sm|-md|-lg|-xl}-right
or .dropdown-menu{-sm|-md|-lg|-xl}-left