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.
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.
By default, the dropdown menu is closed when clicking inside or
outside the dropdown menu. You can use the autoClose option to change
this behavior of the dropdown.
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.
Some example text that's free-flowing within the dropdown menu.
And this is more example text.
Forms
Put a form within a dropdown menu, or make it into a dropdown
menu, and use margin or padding utilities to give it the negative space you require.