Single button

Any single .btn can be turned into a dropdown toggle with some markup changes. Here’s how you can put them to work with either <button> elements:

Split button

Similarly, create split button dropdowns with virtually the same markup as single button dropdowns, but with the addition of .dropdown-toggle-split for proper spacing around the dropdown caret.

Sizing

Button dropdowns work with buttons of all sizes, including default and split dropdown buttons.

Dark dropdowns

Opt into darker dropdowns to match a dark navbar or custom style by adding .dropdown-menu-dark onto an existing .dropdown-menu. No changes are required to the dropdown items.

Dropup

Trigger dropdown menus above elements by adding .dropup to the parent element.

Dropright

Trigger dropdown menus at the right of the elements by adding .dropend to the parent element.

Disabled

Add .disabled to items in the dropdown to style them as disabled.

Headers

Add a header to label sections of actions in any dropdown menu.

Dividers

Separate groups of related menu items with a divider.

Text

Place any freeform text within a dropdown menu with text and use spacing utilities. Note that you’ll likely need additional sizing styles to constrain the menu width.